File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 44 <conversionRule conversionWord =" clr" class =" org.springframework.boot.logging.logback.ColorConverter" />
55
66 <property name =" CONSOLE_PATTERN"
7- value =" %d{yyyy-MM-dd HH:mm:ss.SSS} %white([%thread]) %clr([%p]) %magenta([ %X{requestId} ]) %blue(%logger{5}) - %msg %n" />
7+ value =" %d{yyyy-MM-dd HH:mm:ss.SSS} %white([%thread]) %clr([%p]) %cyan([trace= %X{dd.trace_id} span=%X{dd.span_id} ]) %blue(%logger{5}) - %msg%n" />
88 <property name =" ROLLING_PATTERN"
9- value =" %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] [%-5level] [%X{requestId} ] %logger{5} - %msg %n" />
9+ value =" %d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] [%-5level] [trace= %X{dd.trace_id} span=%X{dd.span_id} ] %logger{5} - %msg%n" />
1010
1111 <property name =" LOG_DIR" value =" /logs" />
1212 <property name =" FILE_PATH_NAME" value =" ${LOG_DIR}/eatda.log" />
You can’t perform that action at this time.
0 commit comments