I'm using java.util.logging.Logger for logging within websphere and have been trying to get Logger.isLoggable to work, but it isn't working as expected. For example, if I set the logging level for a certain package to ALL, and check for whether Level.Finest is loggable it returns false and nothing is logged to the logging file.
In the table below I have defined on the first line the package level logging level within websphere. In the following lines I define possible isLoggable options and whether or not true would be returned when the package logging is set to the value specified above. Are my expectations incorrect or is the logging levels not set in the expected manner within websphere?
Package level Log Setting ALL FINEST FINER FINE WARN SEVERE isLoggable(all) Yes No No No No No isLoggable(finest) Yes Yes No No No No isLoggable(finer) Yes Yes Yes No No No isLoggable(fine) Yes Yes Yes Yes No No isLoggable(warn) Yes Yes Yes Yes Yes No isLoggable(severe) Yes Yes Yes Yes Yes Yes
Thank you very much.
Jeremy