Skip to content

Set logs level to WARN for production image - #3941

Closed
sbrunner wants to merge 1 commit into
masterfrom
logs-levels
Closed

Set logs level to WARN for production image#3941
sbrunner wants to merge 1 commit into
masterfrom
logs-levels

Conversation

@sbrunner

Copy link
Copy Markdown
Member

No description provided.

@sbrunner
sbrunner requested a review from sebr72 January 22, 2026 07:35
@sbrunner
sbrunner marked this pull request as ready for review January 22, 2026 07:36
Copilot AI review requested due to automatic review settings January 22, 2026 07:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Logback logger levels to reduce verbosity (intended to set production logging to WARN per PR title).

Changes:

  • Changed several framework/package loggers (org.mapfish, com.codahale, org.springframework, org.apache, org.hibernate) from DEBUG to WARN in core/src/main/resources/logback.xml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +11 to +15
<logger name="org.mapfish" level="WARN" />
<logger name="com.codahale" level="WARN" />
<logger name="org.springframework" level="WARN" />
<logger name="org.apache" level="WARN" />
<logger name="org.hibernate" level="WARN" />

Copilot AI Jan 22, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR title mentions changing log level for the production image, but the Docker/Tomcat image appears to use core/docker/usr/local/tomcat/conf/logback.xml (see core/docker/usr/local/tomcat/bin/setenv.sh setting -Dlogback.configurationFile=.../conf/logback.xml). Changes in core/src/main/resources/logback.xml likely won’t affect production container logging; consider moving/applying the level change to the Docker logback config or its env-driven defaults instead.

Copilot uses AI. Check for mistakes.
@sbrunner

Copy link
Copy Markdown
Member Author

Not used in a production environment => closing

@sbrunner sbrunner closed this Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants