tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <>
Subject Re: Logging separation
Date Thu, 27 Jun 2002 09:26:33 GMT
At 15:46 26.06.2002 -0700, Bill Barker wrote:
>As an aside, setting the logger in the static init method is almost always
>wrong for a servlet.  If the class is living in a jar in lib/apps, then only
>one logger gets created even if the servlet is used in several webapps.

This is an important observation. More generally, for a class that is
used in multiple contexts, the static logger approach won't work


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

View raw message