tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: How to configure to use tomcat and struts to use log4j?
Date Wed, 06 Aug 2003 20:01:59 GMT

Howdy,

>I have tried so many things to use log4j from tomcat and struts and
>finaly I found the solution that I have to copy log4.jar into
common/lib
>server/lib and <application>/WEB-INF/lib (to be able to get jsp files
>compiled). I find it a bit complicated that I have to copy the same jar
>file into three different directories.
>
>Is there a better way?

Simply put log4j.jar in WEB-INF/lib, and your log4j configuration file
in WEB-INF/classes.  That's it.  Don't have copies of log4j in
commons/lib or server/lib, nor a log4j configuration file there.

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


Mime
View raw message