[slf4j-user] Expressions on log statements to avoid log guading

coldserenity rmuntyan at softserveinc.com
Thu Sep 12 09:27:42 CEST 2013


At first glance this is indeed a cool feature allowing to remove large amount
of isSomethingEnabled code, this also brings a HUGE threat: you don't have
compile-time check any more. 

And when at some time having a production issue, you enable your DEBUG logs,
instead of solving the original issue you might get another one: logs
floated with NoSuchMethodException.

Without at least proper IDE support, I'd rather not use it.



--
View this message in context: http://slf4j.42922.n3.nabble.com/Expressions-on-log-statements-to-avoid-log-guading-tp4025601p4025604.html
Sent from the slf4j - user mailing list archive at Nabble.com.


More information about the slf4j-user mailing list