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-18 10:28:54 +01:00
|
|
|
<!--<PatternLayout pattern="[%d{HH:mm:ss.SSS}][%-5level][%-30.30c{1.}]: %msg%n" />-->
|
|
|
|
<PatternLayout>
|
|
|
|
<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>
|
|
|
|
</PatternLayout>
|
2017-12-12 01:06:58 +01:00
|
|
|
</Console>
|
2018-02-15 02:02:35 +01:00
|
|
|
<RollingFile name="RollingFile" fileName="./logs/current-day.log"
|
|
|
|
filePattern="./logs/$${date:yyyy-MM}/discordBot-%d{yyyy-MM-dd}-%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>
|
2018-02-15 02:02:35 +01:00
|
|
|
<TimeBasedTriggeringPolicy interval="1" modulate="true"/>
|
2017-12-12 01:06:58 +01:00
|
|
|
<SizeBasedTriggeringPolicy size="250 MB"/>
|
|
|
|
</Policies>
|
2018-01-13 19:19:30 +01:00
|
|
|
<DefaultRolloverStrategy max="120"/>
|
2017-12-22 19:20:26 +01:00
|
|
|
</RollingFile>
|
2018-02-15 02:02:35 +01:00
|
|
|
<File name="current" fileName="logs/current.log" append="false">
|
|
|
|
<PatternLayout>
|
|
|
|
<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>
|
|
|
|
</PatternLayout>
|
|
|
|
</File>
|
2017-12-12 01:06:58 +01:00
|
|
|
</Appenders>
|
|
|
|
<Loggers>
|
2018-04-26 16:58:01 +02:00
|
|
|
<Logger name="net.Broken" level="debug" additivity="false">
|
2018-03-05 10:43:41 +01:00
|
|
|
<AppenderRef ref="Console"/>
|
2018-03-05 12:17:58 +01:00
|
|
|
<AppenderRef ref="current"/>
|
|
|
|
<AppenderRef ref="RollingFile"/>
|
2018-03-05 10:43:41 +01:00
|
|
|
</Logger>
|
2017-12-26 16:25:35 +01:00
|
|
|
<Root level="debug">
|
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"/>
|
2018-02-15 02:02:35 +01:00
|
|
|
<AppenderRef ref="current" level="info"/>
|
2017-12-22 19:20:26 +01:00
|
|
|
</Root>
|
|
|
|
</Loggers>
|
|
|
|
</Configuration>
|
|
|
|
|