Hello, somehow the 3rd party jar's in my web app are changing the log level and I need to find out how to override. Specifically my problem is that the log methods of Servlet send their output into the ether. The dependencies include commons-logging and log4j (themselves dependencies of either jfreechart or displaytag), neither of which I am familiar with.

I did try creating a logging.properties in my application (attached), which at least created a file in ${catalina.base}/logs, but never wrote anything to it.

Does anyone know what I might need to change?

There are warnings in catalina.out:

(on startup)
log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig).
log4j:WARN Please initialize the log4j system properly.

(on reload)
log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester).
log4j:WARN Please initialize the log4j system properly.

But if they are only warnings, would they cut off all logging from the application?

Please help, thanks.
--
Guy

handlers = 1hireport.org.apache.juli.FileHandler, 
java.util.logging.ConsoleHandler

############################################################
# Handler specific properties.
# Describes specific configuration info for Handlers.
############################################################

1hireport.org.apache.juli.FileHandler.level = ALL
1hireport.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
1hireport.org.apache.juli.FileHandler.prefix = hireport.
1hireport.org.apache.juli.FileHandler.formatter = 
java.util.logging.SimpleFormatter

java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter

org.apache.catalina.core.ContainerBase.[Catalina].[/hireport].level = ALL
org.apache.catalina.core.ContainerBase.[Catalina].[/hireport].handlers = 
1hireport.org.apache.juli.FileHandler

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to