2016-07-29 11:52:24 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<Configuration status="WARN">
|
|
|
|
<Appenders>
|
|
|
|
<Console name="Console" target="SYSTEM_OUT">
|
|
|
|
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" />
|
|
|
|
</Console>
|
|
|
|
<File name="MyFile" fileName="logs/app.log">
|
|
|
|
<PatternLayout
|
|
|
|
pattern="%d{yyyy-mm-dd HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n" />
|
|
|
|
</File>
|
|
|
|
</Appenders>
|
|
|
|
<Loggers>
|
2016-08-01 10:16:54 +00:00
|
|
|
<Root level="debug">
|
2016-07-29 11:52:24 +00:00
|
|
|
<AppenderRef ref="Console" />
|
|
|
|
<AppenderRef ref="MyFile" />
|
|
|
|
</Root>
|
|
|
|
</Loggers>
|
|
|
|
</Configuration>
|