2017-12-22 19:20:26 +01:00
|
|
|
|
|
|
|
<Configuration status="error" packages="com.coralogix.sdk.appenders">
|
2017-12-12 01:06:58 +01:00
|
|
|
<Appenders>
|
|
|
|
<Console name="Console" target="SYSTEM_OUT">
|
2018-01-08 11:09:46 +01:00
|
|
|
<PatternLayout pattern="[%d{HH:mm:ss.SSS}][%-5level][%-30.30c{1.}]: %msg%n" />
|
2017-12-12 01:06:58 +01:00
|
|
|
</Console>
|
2017-12-22 19:20:26 +01:00
|
|
|
<RollingFile name="RollingFile" fileName="./logs/curent.log"
|
|
|
|
filePattern="./logs/$${date:yyyy-MM}/discordBot-%d{yyyy-MM-dd-HH}-%i.log.gz">
|
2017-12-12 01:06:58 +01:00
|
|
|
<PatternLayout>
|
2018-01-08 11:09:46 +01:00
|
|
|
<Pattern>[%d{HH:mm:ss.SSS}]%highlight{[%-5level]}{FATAL=red blink, ERROR=red, WARN=bright yellow , INFO=blue, DEBUG=bright black, TRACE=cyan}[%-30.30c{1.}]: %highlight{%msg%n}{FATAL=red blink, ERROR=red, WARN=bright yellow , INFO=blue, DEBUG=bright black, TRACE=cyan}</Pattern>
|
2017-12-12 01:06:58 +01:00
|
|
|
</PatternLayout>
|
|
|
|
<Policies>
|
|
|
|
<TimeBasedTriggeringPolicy/>
|
|
|
|
<SizeBasedTriggeringPolicy size="250 MB"/>
|
|
|
|
</Policies>
|
2017-12-22 19:20:26 +01:00
|
|
|
</RollingFile>
|
2017-12-12 01:06:58 +01:00
|
|
|
</Appenders>
|
|
|
|
<Loggers>
|
2017-12-26 16:25:35 +01:00
|
|
|
<Root level="debug">
|
2017-12-22 19:20:26 +01:00
|
|
|
<AppenderRef ref="RollingFile" level="info" />
|
2017-12-12 01:06:58 +01:00
|
|
|
<AppenderRef ref="Console" level="info"/>
|
2017-12-22 19:20:26 +01:00
|
|
|
<AppenderRef ref="RollingFile" level="info"/>
|
|
|
|
</Root>
|
|
|
|
</Loggers>
|
|
|
|
</Configuration>
|
|
|
|
|