|java.util.logging in servlet bridge and Tomcat [message #908179]
||Tue, 04 September 2012 22:00
| Mark Proe
Registered: July 2009
I have deployed an RAP application in Tomcat 7. My intent is to use java.util.logging and defer it to Apache's JULI. However, I only see web server messages in the Catalina log files -- no logging specific to my application is showing up. Stepping through the Tomcat source code (org.apache.juli.ClassLoaderLogManager), it appears the OSGi classloader is disconnected from the logger chain. So my log messages just get swallowed up, because the log handlers are tied to a different classloader.
Does anybody know a workaround for this?
(BTW...I am already using java.util.logging in non-Equinox web applications. So I know my Tomcat configuration is set up correctly.)
Powered by FUDForum
. Page generated in 0.03851 seconds