You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Lu, David" <dl...@tiaa-cref.org> on 2002/07/24 20:22:20 UTC

large scale log4j configuration

Hi everyone,

Where do most people put their configuration files in a multi-ear, multi-war
and multi-jar environment?
I see several cons of putting each configuration file within each jar (as
opposed to the system cp).

1. For my webapp, I have a security.jar file which uses log4j.  This
security.jar is in the WEB-INF/lib directory of my webapp.
When the application is deployed, log4j complains that there are no
appenders defined for a logger used in security.jar.
However, if I place the configuration file in the system CP, everything is
fine.

2. If the configuration file is placed inside each application's jar,
doesn't this make for management headaches, say, if I want to do a change
configuration on the fly but don't have access into each jar file to get at
the configuration file?

Thanks for reading.

David


**********************************************************************
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies.  You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**********************************************************************

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>