ngshouyan.j-jdbc-test.1.3.0.source-code.logback.xml Maven / Gradle / Ivy
<configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <!-- encoders are assigned the messageType ch.qos.logback.classic.encoder.PatternLayoutEncoder by default --> <encoder> <pattern>!@#$`%d`[%X{traceId}/%X{spanId}/%X{parentId}]`%-5level`%thread`%logger{20}`%msg %n</pattern> </encoder> </appender> <logger name="org.springframework" level="ERROR"/> <logger name="org.apache" level="ERROR"/> <root level="DEBUG"> <appender-ref ref="STDOUT"/> </root> </configuration>