logback-spring.xml

The logback-spring.xml file defines the Sign-off logging configuration.

Location: limits-starter\src\main\resources.

File values

The logback-spring.xml file has the following attributes:

Element Attribute Value Description
<configuration> debug false Flag used to enable/disable Logback debug mode
<appender> name STDOUT Name of Logback appender used for logging
class ch.qos.logback.core.ConsoleAppender Implementation Logback appender used for logging
<encoder>
<pattern> %date{yyyy-MM-dd HH:mm:ss.SSS z} [%cyan(t=%X{trace_id}) %magenta(s=%X{span_id})] [%blue(%thread)] %highlight(%-5level) %yellow(%logger{36}) - %msg%n%throwable Formatting pattern of the logging output
<root> level INFO Root logger level
<appender-ref> ref STDOUT Name of Logback appender used by root logger
<contextListener> class ch.qos.logback.classic.jul.LevelChangePropagator Implementation of Logback context listener
<resetJUL> true Flag used to reset all previous level configurations of all j.u.l. loggers