[MGNLCE-179] Show only WARN or greater log information for third party libs Created: 15/Jan/20  Updated: 18/Aug/21

Status: Accepted
Project: Community Edition
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Jorge Franco Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

Actually showing info on log from libs, like:

 

2020-01-15 15:24:15,497 DEBUG io.swagger.v3.parser.OpenAPIV3Parser .....

 

Mika info:

isn't debug disabled by default in log4j config? —ah, it is from the default config in magnolia-core, but not in the more evolved config in e.g. empty-webapp; there, root/unmapped level is "ALL", magnolia logs all on INFO or higher, and 3rd party libs typically log only on WARN or higher.
See https://git.magnolia-cms.com/projects/PLATFORM/repos/ce/browse/magnolia-empty-webapp/src/main/webapp/WEB-INF/config/default/log4j2.xml#163


Generated at Mon Feb 12 00:07:00 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.