I have code using JDK logging like:
if (LOG.isLoggable(Level.FINEST)) {
LOG.finest("added into list: " + something);
}
I have no log. When I use just
LOG.finest("added into list: " + something);
I got a log in the log file.
I use JBoss with Log4J. It is configured to log ALL stuff.