logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yakov Khesin <ykhe...@dtcc.com>
Subject log4j in Websphere EAR and classpath problem
Date Wed, 02 Apr 2008 14:46:53 GMT
I have a Websphere J2EE Struts application (packaged as an EAR), which
contains one Java project (represented by a JAR file) with its own
log4j configuration file with loggers and appenders, and two WEB Struts
projects, each with its own configuration file, loggers and appenders.

Both WEB projects depend on the Java project. All appenders use

My problem is that I cannot make the three projects use their own
log4j configurations - all log messages from all three projects are
coming to file appender from one the one WEB projects.  If I move all
loggers and appenders confiuguration to the Java project log4j config,
everything works, but I really need for each project to be able to use
its own configuration file.

Please let me know if anyone has any clues on how to make this work.

Thank you!

Yakov Khesin

DTCC DISCLAIMER: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or
entity to whom they are addressed. If you have received this email
in error, please notify us immediately and delete the email and any
attachments from your system. The recipient should check this email
and any attachments for the presence of viruses.  The company
accepts no liability for any damage caused by any virus transmitted
by this email.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message