tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
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
properly.


--
Ceki


--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message