tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pc leung <>
Subject Re: tomcat 5.5 logging
Date Thu, 03 Nov 2005 03:05:35 GMT
I have done something according to
I do not put the 2 jars in tomcat common lib.
Instead I keep them in my webapp lib. The result is lots of error message in
tomcat log dir.
 If I put a in web-inf/classes and still keep the 2 jars in
my webapp lib only,
is the log.debug() prints message in tomcat log dir?

 On 11/3/05, andy gordon <> wrote:
> Placing the jars in the common/lib directory makes them available for all
> web apps and catalina itself. Placing log4j properties in the common/classes
> lib defines log4j behavior for all web apps (cross context). Placing log4j
> properties in web-inf/classes overrides cross context log4j properties for a
> specific web app.
> What is the purpose of the file ? There is no
> requirement for this file according to the 5.5 doc.
> hope this helps.
> - andy
> pc leung <> wrote:
> The above page shows that logging-log4j.jar and commong-logging.jar
> needs to put in $CATALINA_HOME/common/lib.
> If I have two files of jar already in my struts webapp lib,
> Why do I still need to place them in $CATALINA_HOME/common/lib?
> In addition, the tomcat doc web page shows the only,
> is the not necessary?
> Thanks
> ---------------------------------
> Yahoo! FareChase - Search multiple travel sites in one click.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message