
I'm looking for a way to always log a message regardless of the current level of logger. My application allows the user to change the level via JMX and I always want to log a message that says, "The level was changed from X to Y". I *could* accomplish this by specifying the highest level, ERROR, but it's not an error, and I don't want it to show up as one. In log4j, I was able to accomplish this by using the log() method with level OFF (strangely enough). I tried doing something similar with logback's level ALL, but it's not accepted as valid level to the log() method. Is there a different/better way to accomplish this? Thanks, Laboo -- View this message in context: http://www.nabble.com/Always-log%2C-regardless-of-level%2C-but-not-as-ERROR-... Sent from the Logback User mailing list archive at Nabble.com.