You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jason Novotny <no...@aei.mpg.de> on 2006/08/08 01:25:04 UTC

how to log a class in shared/lib

Hi,

    I have a lightweight singleton that I need to place in shared/lib so 
that it may be accessed by a few other webapps. My question is what 
logging jar will make my life the easiest to use in my singleton? My 
assumption is that each webapp should be able to configure which classes 
it wishes to log (including whether to log the singleton in shared/lib). 
Persuing google it seems like if I put log4j in shared/lib it could 
create conflicts if the individual webapps also contain log4j jar too. 
Would it be ok to just use commons-logging, or what about java.util.Logger?

    Thanks, Jason

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org