Created
June 13, 2016 02:48
-
-
Save AnthonyClink/e45e6e300e15cabf16206977b7f7ef00 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<Configuration status="WARN" xmlns="http://www.w3schools.com"> | |
<Appenders> | |
<!-- TODO: parameterize the pattern and the log level --> | |
<Console name="SysOut" target="SYSTEM_OUT"> | |
<PatternLayout | |
pattern="%d{yyyy-MM-dd HH:mm:ss:sss} %-5p %c{1}:%L - %m%n" /> | |
<Filters> | |
<ThresholdFilter level="warn" onMatch="DENY" | |
onMismatch="ACCEPT" /> | |
</Filters> | |
</Console> | |
<Console name="SysErr" target="SYSTEM_ERR"> | |
<PatternLayout | |
pattern="%d{yyyy-MM-dd HH:mm:ss:sss} %-5p %c{1}:%L - %m%n" /> | |
<Filters> | |
<ThresholdFilter level="warn" onMatch="ACCEPT" /> | |
</Filters> | |
</Console> | |
</Appenders> | |
<Loggers> | |
<logger name="org.apache.http" level="info" /> | |
<logger name="com.netflix" level="info" /> | |
<Root level="info"> | |
<AppenderRef ref="SysOut" /> | |
<AppenderRef ref="SysErr" /> | |
</Root> | |
</Loggers> | |
</Configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment