logginglog4jlog-level

What log level to use for method enter/exit?


What log level should one use for method exit/enter?

The log4j levels follow the following order.
DEBUG
INFO
WARN
ERROR
FATAL

Solution

  • I have always used DEBUG because it seems this info was only necessary to me when there was an issue and I needed to debug the application.