2010/5/7 Caldarale, Charles R <chuck.caldar...@unisys.com>:
>> From: Victor Pittman [mailto:victor.pitt...@workday.com]
>> Subject: Tomcat JULI resets JDK logging? Tomcat 6.0.26
>>
>> Do you know what the 'undocumented' fix is, and how to use it ?
>
> Try nesting the following inside the <Context> element for the webapp of 
> interest:
>
>  <Loader clearReferencesLogFactoryRelease="false" />
>

I think using <Loader> won't work, because that configures a
WebappLoader, and the discussed property is in WebappClassLoader.

You can access WebappClassLoader
a) by calling WebappLoader.getClassLoader()
b) by calling Thread.getContextClassLoader() in any place of your web
application, e.g. in a Listener

I think b) would be easier.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to