logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Kjome" <h...@visi.com>
Subject Re: Standalone instance with multiple log4j setting
Date Mon, 29 Mar 2010 14:57:27 GMT
Research Logger Repository Selectors.  Here's a resource to get you 
started....
http://wiki.apache.org/logging-log4j/AppContainerLogging

Jake


On Mon, 29 Mar 2010 17:51:56 +0800
  WM YEOH <spinergywmy@gmail.com> wrote:
> Hi there,
> 
> Current setup,
> - App server - Sun Java System Application Server 9.1_01
> - deploy one ear(own war) and another war applications in the same stand
> alone instance
> 
> I have setup in a way that each application has its own log4j.xml but assign
> to different log files, for instance, log4jA.xml -> A.log and log4jB.xml ->
> B.log. However, the debug message only written into one log file instead of
> its designated log file. I could not package the log4j jar into the war as
> other classes in separate jar (within ear) used logger. Therefore, I have to
> specified log4j jar in the server classpath. Which I believed that would be
> the issue that causing the debug message not written to the correct log
> file.
> 
> I am wondering is there any settings to solve the problem that I faced. Or
> is there any alternatives to solve the problem.
> 
> Appreciate anyone help me to solve the problem as soon as possible. Please
> let me know if you need further information.
> 
> Thank you.
> 
> Regards


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message