Created
November 12, 2012 17:31
-
-
Save hugoduncan/4060702 to your computer and use it in GitHub Desktop.
logback config for per host log files in pallet 0.8
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
<appender name="SIFT" class="ch.qos.logback.classic.sift.SiftingAppender"> | |
<discriminator> | |
<key>target</key> | |
<defaultValue>unspecified</defaultValue> | |
</discriminator> | |
<sift> | |
<appender name="FILE-${target}" class="ch.qos.logback.core.FileAppender"> | |
<file>logs/target-${target}.log</file> | |
<append>false</append> | |
<encoder> | |
<pattern>%msg%n</pattern> | |
</encoder> | |
</appender> | |
</sift> | |
</appender> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment