Replies: 2 comments 1 reply
-
[Note: this question has also been posted to SO] It appears that all your level changes are applied correctly. Could you clarify, what is exactly the problem you are struggling with? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I came across this answer to another question - https://stackoverflow.com/a/65506860/10931326 Is there a reference for this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I start my webapp with a logger for org.hibernate.type set to WARN in log4j2.properties. Then I use a feature in my webapp to programmatically set the logger level to TRACE.
Configurator.setLevel(logger.getName(), Level.toLevel(newLevel));
However, when I perform any Hibernate-related actions (e.g make a query), I don't see any TRACE logging in my log file.
This is an excerpt of my log4j2.properties:
My findings so far are as such:
What could this error be related to? Is there any other troubleshooting that I can do on log4j2?
Beta Was this translation helpful? Give feedback.
All reactions