Created
July 20, 2022 10:25
-
-
Save joserbatista/3cbbedb3bb3c5f72fdc5ce0d27e71117 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<include resource="org/springframework/boot/logging/logback/defaults.xml"/> | |
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender"> | |
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"> | |
<charset>UTF-8</charset> | |
<pattern>%highlight(%d{ISO8601} %-5level) %yellow(%-40.40logger{39}) %highlight(->) %msg [%cyan(%M)]%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx} | |
</pattern> | |
</encoder> | |
</appender> | |
<!-- ROOT LOGGERS --> | |
<!-- LOG everything at INFO level --> | |
<root level="INFO"> | |
<appender-ref ref="CONSOLE"/> | |
</root> | |
<!-- CUSTOM LOGGERS --> | |
<logger name="pt.joserbatista" level="TRACE"/> | |
<logger name="org.springframework.web" level="DEBUG"/> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment