I am trying to configure the JDK14 logging via commons-logging, running on Tomcat 5. 
In my web.xml :



<system-property java.util.logging.config.file="logging.properties"/>



My logging.properties file, which ends up in WEB-INF/classes
--------------------------------


handlers=java.util.logging.ConsoleHandler, java.util.logging.FileHandler
.level=INFO
com.hcp.level=ALL

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

java.util.logging.FileHandler.level = ALL
java.util.logging.FileHandler.formatter = java.util.logging.SimpleFormatter
java.util.logging.FileHandler.pattern=EBilling%u.log
java.util.logging.FileHandler.limit=50000
java.util.logging.FileHandler.count=1


--------------------------------


I think the main problem is the system property I set in the web.xml file. Where 
should logging.properties go in a web app? 


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

Reply via email to