Created
November 27, 2015 11:20
-
-
Save fiddyspence/9ed5338d16477516f78e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<configuration scan="true"> | |
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |
<encoder> | |
<pattern>%d %-5p [%c{2}] %m%n</pattern> | |
</encoder> | |
</appender> | |
<appender name="F1" class="ch.qos.logback.core.FileAppender"> | |
<!-- TODO: this path should not be hard-coded --> | |
<file>/var/log/puppetlabs/puppetserver/puppetserver.log</file> | |
<append>true</append> | |
<encoder> | |
<pattern>%d %-5p [%c{2}] %m%n</pattern> | |
</encoder> | |
</appender> | |
<logger name="org.eclipse.jetty" level="INFO"/> | |
<root level="info"> | |
<!--<appender-ref ref="STDOUT"/>--> | |
<!-- ${logappender} logs to console when running the foreground command --> | |
<appender-ref ref="${logappender}"/> | |
<appender-ref ref="F1"/> | |
</root> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment