Hi all,

I have done a code review on a OSGI (Karaf) project, and I have a simple
question about the logging perf.

With the default logger in karaf (pax logging), is there mandatory to test
all logger.debug by:

if(logger.isDebugEnabled() {
   logger.debug("Entry number: " + i + " is " + String.valueOf(entry[i]));
}

or just write:
logger.debug("Entry number: " + i + " is " + String.valueOf(entry[i]));

Thanks for answers;



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Logging-perf-tp4033974.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to