You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by First Last <ch...@hotmail.com> on 2007/11/21 08:27:04 UTC
Tomcat 6.0 / Log4J!
Hi,
Basically my situtation is that I want to use log4j for all my logging, for Tomcat itself and for vairous webapps. However, in order to make Tomcat itself use log4j, I have to place log4j in the common classloader from which all webapps inherit. This means all my webapps start to interfere with one anothers logging configuration.
Is there any way I can make Tomcat not share the log4j jar?
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007
---------------------------------------------------------------------
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
RE: Tomcat 6.0 / Log4J!
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: First Last [mailto:chancer357@hotmail.com]
> Subject: RE: Tomcat 6.0 / Log4J!
>
> In earlier versions I would have put log4j into the server
> classloader and not the common classloader; achieving the
> isolation I require. How do you do it in tomcat6?
Read the docs:
http://tomcat.apache.org/tomcat-6.0-doc/logging.html
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.
---------------------------------------------------------------------
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
RE: Tomcat 6.0 / Log4J!
Posted by First Last <ch...@hotmail.com>.
In earlier versions I would have put log4j into the server classloader and not the common classloader; achieving the isolation I require. How do you do it in tomcat6?
----------------------------------------
> From: chancer357@hotmail.com
> To: users@tomcat.apache.org
> Subject: Tomcat 6.0 / Log4J!
> Date: Wed, 21 Nov 2007 07:27:04 +0000
>
>
> Hi,
>
> Basically my situtation is that I want to use log4j for all my logging, for Tomcat itself and for vairous webapps. However, in order to make Tomcat itself use log4j, I have to place log4j in the common classloader from which all webapps inherit. This means all my webapps start to interfere with one anothers logging configuration.
>
> Is there any way I can make Tomcat not share the log4j jar?
>
> _________________________________________________________________
> Connect and share in new ways with Windows Live.
> http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007
> ---------------------------------------------------------------------
> 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
>
_________________________________________________________________
Your smile counts. The more smiles you share, the more we donate. Join in.
www.windowslive.com/smile?ocid=TXT_TAGLM_Wave2_oprsmilewlhmtagline
---------------------------------------------------------------------
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