tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Robert <>
Subject Re: How to approximate tomcat-5.0/4.x/3.x logging in 5.5?
Date Wed, 02 Mar 2005 14:21:08 GMT

On Mar 1, 2005, at 6:45 PM, Remy Maucherat wrote:
> On Tue, 01 Mar 2005 18:18:49 -0500, Adrian Robert
> <> wrote:
>> However, I can't seem to find the right combination of 
>> lines, or maybe I'm trying something impossible.  (I can't find good
>> docs on the uses of when used inside the hierarchical
>> classloading context that tomcat provides.)  What keeps happening is
>> that the webapp's log statements keep going into the global tomcat 
>> log.
>>   Would I be better off with JDK logging instead?
> I am working at the moment on a small package (which will be an
> implementation of java.util.logging) which will allow you doing that
> using the JDK logging. The main issue with it as supplied in the JDK
> is that there is only one global configuration per JVM. The trick is
> to make that per classloader, with delegation, so that webapps are
> isolated. At the moment, I think log4j is your only choice
> (unfortunately, I'm no expert, so I can't give you tricks with this
> particular configuration).
> In the same package, I will also provide a handler with daily rotation.
> It should be done by the end of the week (it doesn't work at the
> moment, I'm busy debugging ;) ).

Great news.  I'm happy to help test this.  I'd rather use JDK logging 
than log4j if possible to avoid an additional deployment dependency.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message