-
-
Save zachdekoning/7325770 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
<?xml version="1.0" encoding="UTF-8"?> | |
<Configuration> | |
<Appenders> | |
<File name="legacy_server_log" fileName="server.log"> | |
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} [%level] %msg%n" /> | |
</File> | |
<Console name="console" target="SYSTEM_OUT"> | |
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} [%level] %msg%n" /> | |
</Console> | |
<RollingFile name="rolling_server_log" fileName="logs/server.log" | |
filePattern="logs/server_%d{yyyy-MM-dd}.log"> | |
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} [%level] %msg%n" /> | |
<Policies> | |
<TimeBasedTriggeringPolicy /> | |
</Policies> | |
</RollingFile> | |
</Appenders> | |
<Loggers> | |
<Root level="info"> | |
<!-- <AppenderRef ref="rolling_server_log" /> --> | |
<AppenderRef ref="legacy_server_log" /> | |
<AppenderRef ref="console" /> | |
</Root> | |
</Loggers> | |
</Configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment