[MGNLTEST-299] Allow setting log level via configuration Created: 22/Aug/22  Updated: 21/Sep/22  Resolved: 21/Sep/22

Status: Closed
Project: Magnolia Test Framework
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Not an issue Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Git Code Review
opened during git code review in MGNLTEST-298 Improve log readability Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

There is currently no way of changing log level of TF via configuration. All logging seems to happen at INFO level which is not ideal when one needs to debug.
Trying to add a log4j config file in classpath and lowering level for info.magnolia.test at DEBUG, for instance, seems to be ignored.

Dev Notes

TF has actually a logging configuration file which I completely overlooked.
It is just a matter of enabling the proper log level there. Let's document this in TF docs so that we don't forget about it.


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