Created
September 14, 2017 04:16
-
-
Save t3rmin4t0r/3846d4e892fec2279c066c7623de7ac7 to your computer and use it in GitHub Desktop.
Default log4j2 file for missing StatusLogger errors
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"> | |
<Appenders> | |
<RollingFile name="RollingFile" filename="log/test.log" | |
filepattern="${logPath}/test.log"> | |
<PatternLayout pattern="%msg%n" /> | |
<Policies> | |
<SizeBasedTriggeringPolicy size="100 MB" /> | |
</Policies> | |
<DefaultRolloverStrategy max="20" /> | |
</RollingFile> | |
</Appenders> | |
<Loggers> | |
<Root level="info"> | |
<AppenderRef ref="RollingFile" /> | |
</Root> | |
</Loggers> | |
</Configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment