RE: Log4j - do only log statements for my application

2010-05-04 Thread Bender Heri
As far as I know the WLS uses parent-first classloading per default. The first application which initializes log4j wins because the Logger repository and the embedded Appenders are global singletons. You have to resarch how to configure WLS to use child-first class loading, at least for the log4

RE: Log4j - do only log statements for my application

2010-05-04 Thread Huber, Stephan
We're using a Bea WLS 8.1. It's all bundled within my war file - the log4j-1.2.16.jar is located under WEB-INF/lib, the log4j.properties is under WEB-INF/classes. What I don't understand is why my application affects the logging of some other apps on the application server. - Stephan -Orig

RE: Log4j - do only log statements for my application

2010-05-04 Thread Bender Heri
What application server? Where is the properties file and the log4j.jar located? Heri > -Original Message- > From: Huber, Stephan [mailto:stephan.hu...@gigatronik.com] > Sent: Tuesday, May 04, 2010 2:33 PM > To: log4j-user@logging.apache.org > Subject: Log4j - do only log statements for my

Log4j - do only log statements for my application

2010-05-04 Thread Huber, Stephan
Hi, I've some questions regarding log4j. My app (war) is deployed on an application server where multiple web-apps have also been deployed. Today, after analyzing the logs, I realized that my logging outputs somehow overwrite logging statements from another application (all the apps log to the de

Logging multiple Webstart client instances?

2010-05-04 Thread Peter Fuerholz
Hi there, I have a signed WebStart application which logs defaultly into the current user's home directory. (If I use a relative path the log file is saved under a browser specific path which is not very user friendly.) There are now cases where it is sensible to start this WebStart application