Skip to content

Instantly share code, notes, and snippets.

@t3rmin4t0r
Created September 14, 2017 04:16
Show Gist options
  • Save t3rmin4t0r/3846d4e892fec2279c066c7623de7ac7 to your computer and use it in GitHub Desktop.
Save t3rmin4t0r/3846d4e892fec2279c066c7623de7ac7 to your computer and use it in GitHub Desktop.
Default log4j2 file for missing StatusLogger errors
<?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