Skip to content

Commit 1a01aca

Browse files
committed
Fix root log level configuration
1 parent 0dcab0c commit 1a01aca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/resources/log4j2.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
<Sentry name="Sentry" debug="false"/>
2929
</appenders>
3030

31-
<loggers>
32-
<root level="INFO">
31+
<loggers>L
32+
<root level="${env:LOG4J_LOG_LEVEL:-INFO}">
3333
<appender-ref ref="Console" />
3434
<!-- Note that the Sentry logging threshold is at ERROR level by default -->
3535
<appender-ref ref="Sentry" level="${env:SENTRY_LOG_LEVEL:-ERROR}" />

0 commit comments

Comments
 (0)