ThreadName

2005-03-05 Thread Keith Rogers
I'm using log4j 1.2.8, and am having a problem with LoggingEvent's getThreadName method - it is always returning the name of the thread that I call the getThreadName method from, rather the name of the thread that created the log event. Having had a look at the source, it seems to me that the thre

Task Logging

2004-11-10 Thread Keith Rogers
I'm currently using Log4J for an application that is getting quite large, and the log files are becoming hard to read. I'm not sure if there is some Log4J tool that does what I want, so I will just describe it: What I want is to see each task that the application does, but for the log messages t

Re: Log4J and JUnit

2004-08-10 Thread Keith Rogers
. >>> [EMAIL PROTECTED] 10/08/2004 11:19:05 >>> Keith, This is a well known problem with a well known solution. Look in the archives. In particular, read the junit FAQ. At 10:52 AM 8/10/2004, Keith Rogers wrote: >I've got an application full of logging messages, and I'

Log4J and JUnit

2004-08-10 Thread Keith Rogers
I've got an application full of logging messages, and I've just started writing JUnit tests for it. Unfortunately, when I try to use the JUnit gui, I get the following warnings: log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j.spi.Configurator" v

FileAppender file path in a web app

2004-05-26 Thread Keith Rogers
How would I specify a path for file appenders to use in a web-app? I can specify an absolute path, but while this is fine on my development server, it will be a problem when I deploy to the hosting service we use, as I don't know what the file structure is above our application directory. What I'd