RE: log4j.properties on iSeries/AS400

2004-07-26 Thread Scott Deboy
Classloader.getResource is used to try and load the file.. Here's the source file attempting to load the properties file (although this is the CVS HEAD version, not the version in log4j 1.2.8): http://cvs.apache.org/viewcvs.cgi/jakarta-log4j/src/java/org/apache/log4 j/helpers/Loader.java?rev=1.21

RE: using log4j to one logging file from more than one process

2004-07-26 Thread Keith Hatton
You might also consider using system-level logging (e.g. with NTEventLogAppender or SyslogAppender, depending on the platform) or a SocketAppender from each application to a listener in a fourth JVM on the box. Keith -Original Message- From: Dennis Cook [mailto:[EMAIL PROTECTED] Sent:

Re: using log4j to one logging file from more than one process

2004-07-26 Thread Dennis Cook
Here is one approach that might work. If the three processes can be started by a single common java process, then you could use console appenders from those three processes and collect there entries in the starting process by intercepting their stdout and stderr streams; in turn writing to a fil

using log4j to one logging file from more than one process

2004-07-26 Thread Bartsch Axel
Hello, I want to write into a logging file with log4j from an application that consists of 3 processes (=JAVA VMs). Each process calls String configFileName = "log.properties"; PropertyConfigurator.configure(configFileName); tfl = Logger.getLogger("debug"); and then logs e.g. with tfl.debug("h

RE: Throwable with every log for scope nesting

2004-07-26 Thread Sullivan, Sean C - MWT
> -Original Message- > From: Erik Smith [mailto:[EMAIL PROTECTED] > > Is there some other way to get the call stack? > J2SE 5.0 has a new method class: java.lang.Thread method: public StackTraceElement[] getStackTrace() -

log4j - XMLLayout - output.

2004-07-26 Thread Philippe Waltregny
Hello, I'm trying to use log4j's XMLLayout as documented. Here are my source codes: 1) File log4j-events 2) File log4j.xml ]> http://jakarta.apache.org/log4j/";> &logEntity; Here is the result when I open the log4j.xml file in Microsoft Internet Explorer 6.0: The

RE: Configuration file format

2004-07-26 Thread Allistair Crossley
This is handy .. http://www.vipan.com/htdocs/log4jhelp.html ADC > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Venkatesh Prasad > Ranganath > Sent: 25 July 2004 01:00 > To: [EMAIL PROTECTED] > Subject: Configuration file format > > > Hi, > > Where can I find a d