Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » java.util.logging in servlet bridge and Tomcat
java.util.logging in servlet bridge and Tomcat [message #908179] Tue, 04 September 2012 18:00
Mark Proe is currently offline Mark Proe
Messages: 29
Registered: July 2009
Junior Member
Hello,

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.)

Thanks,
Mark
Previous Topic:[p2] How to update the Application Version number in Windows 7 "Program and Features"?
Next Topic:Mirror update site problem
Goto Forum:
  


Current Time: Tue Sep 02 13:10:22 EDT 2014

Powered by FUDForum. Page generated in 0.01824 seconds