tdlight-java/example/src/main/resources/log4j2.xml

21 lines
845 B
XML
Raw Normal View History

2021-09-27 19:55:06 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<Configuration strict="true"
2021-10-22 12:54:28 +02:00
xmlns="http://logging.apache.org/log4j/2.0/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://logging.apache.org/log4j/2.0/config
2021-09-27 19:55:06 +02:00
https://raw.githubusercontent.com/apache/logging-log4j2/log4j-2.14.1/log4j-core/src/main/resources/Log4j-config.xsd"
2021-10-22 12:54:28 +02:00
status="INFO">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout
pattern="%d{${LOG_DATEFORMAT_PATTERN:-yyyy-MM-dd HH:mm:ss.SSS}} %highlight{${LOG_LEVEL_PATTERN:-%5p}}{FATAL=red blink, ERROR=red, WARN=yellow bold, INFO=green, DEBUG=green bold, TRACE=blue} %style{%processId}{magenta} %style{%-20.20c{1}}{cyan} : %m%n%ex"/>
</Console>
2021-09-27 19:55:06 +02:00
2021-10-22 12:54:28 +02:00
</Appenders>
<Loggers>
<Root level="INFO">
<AppenderRef ref="Console"/>
</Root>
</Loggers>
2021-09-27 19:55:06 +02:00
</Configuration>