Level management on Logback

Hi, I have a doubt. If on my config file (xml) I set logger level as "Debug" and then from my java class i do: logger.error("some message Log {}", this); What wold be the result on my log file? Does Logback a comparation between logger level and event level and depend on that it does the logging?Do i have a log based on debug or based on error? Thanks. Gastón

You might want to look at the documentation. http://logback.qos.ch/manual/architecture.html#basic_selection (*Chris*) On Thu, Aug 29, 2013 at 11:41 AM, gaston sponer <gaston.sponer@hotmail.com>wrote:
Hi, I have a doubt. If on my config file (xml) I set logger level as "Debug" and then from my java class i do:
logger.error("some message Log {}", this);
What wold be the result on my log file?
Does Logback a comparation between logger level and event level and depend on that it does the logging? Do i have a log based on debug or based on error?
Thanks.
Gastón
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://mailman.qos.ch/mailman/listinfo/logback-user
participants (2)
-
Chris Pratt
-
gaston sponer