Skip to content

Commit

Permalink
Refactor log4j configurations
Browse files Browse the repository at this point in the history
Signed-off-by: Taeik Lim <[email protected]>
  • Loading branch information
acktsap committed Mar 19, 2024
1 parent 0f8d097 commit 1fbbafc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions spring-batch-plus/src/integrationTest/resources/log4j2-test.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{1.} - %msg%n" />
</Console>
</Appenders>
<Loggers>
<Root level="WARN">
<AppenderRef ref="Console" />
</Root>
<logger name="com.navercorp.spring.batch.plus" level="DEBUG"/>
</Loggers>
</Configuration>
1 change: 1 addition & 0 deletions spring-batch-plus/src/test/resources/log4j2-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
<logger name="org.springframework.jdbc" level="DEBUG"/>
<logger name="org.springframework.jdbc.core.StatementCreatorUtils" level="TRACE"/>
<logger name="org.springframework.transaction" level="DEBUG"/>
<logger name="com.navercorp.spring.batch.plus" level="DEBUG"/>
</Loggers>
</Configuration>

0 comments on commit 1fbbafc

Please sign in to comment.