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" />-->
|
2022-06-30 18:36:21 +02:00
|
|
|
<PatternLayout disableAnsi="false">
|
2022-05-15 18:39:46 +02: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>
|
2018-01-18 10:28:54 +01:00
|
|
|
</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>
|
2022-05-15 18:39:46 +02: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>
|
2022-05-15 18:39:46 +02: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>
|
2018-02-15 02:02:35 +01:00
|
|
|
</PatternLayout>
|
|
|
|
</File>
|
2017-12-12 01:06:58 +01:00
|
|
|
</Appenders>
|
|
|
|
<Loggers>
|
2018-09-16 12:19:18 +02:00
|
|
|
<Logger name="net.Broken" level="${env:LOG_LEVEL}" 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>
|
2022-06-30 18:36:21 +02:00
|
|
|
<!-- <Logger name="org.springframework.security" level="${env:LOG_LEVEL}" additivity="false">-->
|
|
|
|
<!-- <AppenderRef ref="Console"/>-->
|
|
|
|
<!-- <AppenderRef ref="current"/>-->
|
|
|
|
<!-- <AppenderRef ref="RollingFile"/>-->
|
|
|
|
<!-- </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>
|
|
|
|
|