My java application which is using SLF4J is running on Unix box and my code has entries like :
if (LOG.isDebugEnabled())
LOG.debug("There is nothing in the cache for " + quote.getObject().getObjectId() + " - using the init quote");
I try to enable logging at ALL or DEBUG or TRACE via JMX but still above log statement doesn't get printed. All statement without "isDebugEnabled()" get printed.
Any ideas what can be done to enable these log statements? I cannot change logback.xml and only use JMX to change log levels.