What log level should one use for method exit/enter?
The log4j levels follow the following order.
DEBUG
INFO
WARN
ERROR
FATAL
What log level should one use for method exit/enter?
The log4j levels follow the following order.
DEBUG
INFO
WARN
ERROR
FATAL
Trace is the most detailed level, print any information as long as it helps you to find out problems. Debug is the second detailed level, Info is the third detailed level, in my opinion it should print something that is meaningful to the end users, it should hide technical details. ...
So in your case, method enter/exit is probably the most detailed information, it is generally meaningless to the end users, so it is better to use Trace or Debug level.
One example, when you are starting Tomcat, it prints out Info level things to help you tracking the status.