tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geofrey Rainey" <>
Subject java.util.logger
Date Tue, 28 Jul 2009 10:42:35 GMT


I'm trying to understand java logging.


I have the following configured in


 - here's the handle

handlers =


 - now add some properties to the handler = FINEST = ${catalina.base}/logs = auth.


 -  add the handler to an application class for logging within the class

auth.DatasourceLoginModule.handlers =



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

logger.fine("Acquiring connection from datasource.");


 -  however this is the only line anywhere that creates a log entry;



I changed the log "level" to others but this doesn't make any
difference, why do only "" messages get logged to the log
file "auth<date>.log" and nothing else?




For more information on the Television New Zealand Group, visit us
online at 
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.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message