You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Configuration status="DEBUG">
|
|
<Appenders>
|
|
<Console name="LogToConsole" target="SYSTEM_OUT">
|
|
<PatternLayout
|
|
pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p [%t] %c : %m%n" />
|
|
</Console>
|
|
<RollingFile name="LogToFile"
|
|
filePattern="logs/server.%d{yyyy-MM-dd}.log"
|
|
immediateFlush="true">
|
|
<PatternLayout
|
|
pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p [%t] %c : %m%n" />
|
|
<Policies>
|
|
<TimeBasedTriggeringPolicy interval="1" modulate="true" />
|
|
</Policies>
|
|
</RollingFile>
|
|
<RollingFile name="LogToNotFound"
|
|
filePattern="logs/not_found.%d{yyyy-MM-dd}.log"
|
|
immediateFlush="true">
|
|
<PatternLayout
|
|
pattern="%d{yyyy-MM-dd HH:mm:ss.SSS} %p [%t] %c : %m%n" />
|
|
<Policies>
|
|
<TimeBasedTriggeringPolicy interval="1" modulate="true" />
|
|
</Policies>
|
|
</RollingFile>
|
|
</Appenders>
|
|
<Loggers>
|
|
<Logger name="not_found" level="info" additivity="false">
|
|
<AppenderRef ref="LogToConsole" />
|
|
</Logger>
|
|
<Root level="info">
|
|
<AppenderRef ref="LogToConsole" />
|
|
</Root>
|
|
</Loggers>
|
|
</Configuration> |