Hi,
I'm trying to understand java logging. I have the following configured in logging.properties: - here's the handle handlers = 1lm.org.apache.juli.FileHandler - now add some properties to the handler 1lm.org.apache.juli.FileHandler.level = FINEST 1lm.org.apache.juli.FileHandler.directory = ${catalina.base}/logs 1lm.org.apache.juli.FileHandler.prefix = auth. - add the handler to an application class for logging within the class auth.DatasourceLoginModule.handlers = 1lm.org.apache.juli.FileHandler Now, here's some example application code: - the following lines are examples of lines that don't log anything logger.entering(DatasourceLoginModule.class.getName(), "entering verify"); logger.fine("Acquiring connection from datasource."); - however this is the only line anywhere that creates a log entry logger.info(e.getMessage()); I changed the log "level" to others but this doesn't make any difference, why do only "logger.info" messages get logged to the log file "auth<date>.log" and nothing else? Regards, Geoff. ========================================================== For more information on the Television New Zealand Group, visit us online at tvnz.co.nz ========================================================== CAUTION: This e-mail and any attachment(s) contain information that is intended to be read only by the named recipient(s). This information is not to be used or stored by any other person and/or organisation.