dev@javaserverfaces.java.net

Setting JSF 1.2 logging level

From: Ralph Bunker <rbunker_at_lisco.com>
Date: Wed, 03 Dec 2008 20:04:44 -0600

How can I set the logging level to FINE in JSF 1.2? I would like to
see messages like:
if (LOGGER.isLoggable(Level.FINE)) {
             LOGGER.log(Level.FINE,
                        MessageFormat.format(
                             "ConfigureListener.contextInitialized({0})",
                             getServletContextIdentifier(context)));

I think this has something to do with setting the
java.util.logging.config.file system property to point to a
logging.properties file. However, I do not want to hard-code the path
to the properties file. I would like it to be in the WEB-INF
directory of the application. And I would like it to be independent
of the container that I am using.

thanks,
--ralph