Skip to content

Commit

Permalink
refactor: 콘솔 로그 하이라이팅
Browse files Browse the repository at this point in the history
  • Loading branch information
HoeSeong123 committed Nov 14, 2024
1 parent 595da34 commit 34f42fc
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions backend/src/main/resources/logger/console/console-appender.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>

<included>
<appender name="console-appender" class="ch.qos.logback.core.ConsoleAppender">
<layout class="ch.qos.logback.classic.PatternLayout">
<pattern>[%level][%d{MM-dd HH:mm:ss}][%X{correlationId}][%logger{20}] %msg%n</pattern>
<pattern>[%highlight(%level)][%d{MM-dd HH:mm:ss}][%magenta(%8X{correlationId})][%highlight(%replace(%logger{20}){'\\w\\.', ''})] %msg %n</pattern>
</layout>
</appender>

<root level="INFO">
<appender-ref ref="console-appender" />
</root>
</configuration>
</included>

0 comments on commit 34f42fc

Please sign in to comment.