feat: Customize logging level through environment variable

This commit is contained in:
oSumAtrIX
2024-09-28 16:10:58 +02:00
parent 1e3e46ff4f
commit 8b17d8894d
4 changed files with 15 additions and 21 deletions

View File

@@ -4,7 +4,7 @@
<pattern>%d{YYYY-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<root level="info">
<root level="\${LOG_LEVEL:-INFO}">
<appender-ref ref="STDOUT"/>
</root>
</configuration>