Skip to main content

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 22:00
Mark Proe is currently offline Mark ProeFriend
Messages: 34
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.)

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: Mon Nov 29 07:05:24 GMT 2021

Powered by FUDForum. Page generated in 0.01312 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top