Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

slf4j trace vs debug used with log4j

From the log4j documentation I know that these are the levels in the h http://logging.apache.org/log4j/1.2/manual.html

TRACE, DEBUG, INFO, WARN, ERROR and FATAL

Fatal being the top level. But could not understand the difference between Trace and debug. I have tried with setting the log level to debug and I can see the trace messages. But when I set the log level to trace I cannot see the debug messages.

It means debug < trace ? Can any one confirm this please ?

like image 535
forum.test17 Avatar asked Oct 24 '25 08:10

forum.test17


1 Answers

TRACE is the lowest level, under DEBUG.

like image 147
Kayaman Avatar answered Oct 25 '25 23:10

Kayaman