I want to capture the System.out and System.err stuff for individual web-apps (ie. Contexts). I've done this ok for some of my contexts but I have a question about how to do this for my webapps whose "path" attribute contains more than 1 slash, eg.
<Context path="/foo/bar" ....> Specifically, how do I reference this webapp in the logging.properties file? For contexts with just a single slash in their path: <Context path="/blah" ...> I altered the logging.properties file by adding 6blah.org.apache.juli.FileHandler 6blah.org.apache.juli.FileHandler.level = FINE 6blah.org.apache.juli.FileHandler.directory = ${catalina.base}/logs 6blah.org.apache.juli.FileHandler.prefix = blah. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/blah].level = FINE org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/blah].handlers = 6blah.org.apache.juli.FileHandler And it has worked fine. But how should i reference the Context whose path is "/foo/bar" ? would 7foo.bar.org.apache.juli.FileHandler ... work?