Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Dan Checkoway
Konstantin, Thanks very much for the tips. VirtualWebappLoader worked perfectly. For the record, here's what worked for me: META-INF/context.xml: Put logging.properties in $TOMCAT_HOME/virtualcp/my-webapp/logging.properties. Works like a charm. Thanks again! Dan On Tue, Oct 11, 2011

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Konstantin Kolinko
2011/10/11 Dan Checkoway : > So... > > 1. Is it currently possible to do what I'm trying to do?  Per-webapp logging > control without using WEB-INF/classes/logging.properties?  I could really > use a working example if this is doable. No it is not possible. What Pid wrote about the manager webapp

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Dan Checkoway
Pid, That's exactly what I tried: - handlers = 1catalina.org.apache.juli.FileHandler, 2localhost.org.apache.juli.FileHandler, 3manager.org.apache.juli.FileHandler, 4host-manager.org.apache.juli.FileHandler, 5my-webapp.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler 5my-

Re: How to externalize a webapp's logging.properties?

2011-10-11 Thread Pid
On 11/10/2011 07:28, Dan Checkoway wrote: > Hello, > > I run several webapps under one instance of tomcat (7.0.21 currently, fwiw), > and each webapp uses JDK logging and needs to log to its own separate log > file. I accomplish this by placing logging.properties in WEB-INF/classes, > and an exam

How to externalize a webapp's logging.properties?

2011-10-10 Thread Dan Checkoway
Hello, I run several webapps under one instance of tomcat (7.0.21 currently, fwiw), and each webapp uses JDK logging and needs to log to its own separate log file. I accomplish this by placing logging.properties in WEB-INF/classes, and an example of how it's set up is: handlers = org.apache.juli