Re: Silencing log4j Mystery Output

2007-07-09 Thread Paul Smith
On 10/07/2007, at 7:51 AM, Tom Purl wrote: I'm writing a simple java program that uses a third-party, proprietary library. If I don't place any log4j-related code in my program and run it, I get the following output every time: [INFO] Resource file for com.foo.String = jar:file:/C:/lib

Re: Propagate errors in a scripting application using log4j

2007-07-09 Thread Paul Smith
The log4j-receivers module (close to release) actually contains a ListModelAppender that you can use to hold events. It's actually designed to display events for Swing GUI's, but since it's a general purpose model class, it can be used to hold events for anything. http://svn.apache.org/rep

Silencing log4j Mystery Output

2007-07-09 Thread Tom Purl
I'm writing a simple java program that uses a third-party, proprietary library. If I don't place any log4j-related code in my program and run it, I get the following output every time: [INFO] Resource file for com.foo.String = jar:file:/C:/lib/ext_lib.jar!/com/foo/Strings_en_US [INFO] Re

Re: Propagate errors in a scripting application using log4j

2007-07-09 Thread Ceki Gulcu
You might want to consider logback which handles this task very nicely. minimoe wrote: Hi! I've got a question regarding log4j and propagating errors in a program flow. I'm currently developing test case scripts using Rational Functional Tester which has a poor logging system and I've looked in

Re: Propagate errors in a scripting application using log4j

2007-07-09 Thread James Stauffer
You could write an appender that stores the errors in memory until you grab them. On 7/9/07, minimoe <[EMAIL PROTECTED]> wrote: Hi! I've got a question regarding log4j and propagating errors in a program flow. I'm currently developing test case scripts using Rational Functional Tester which ha

Propagate errors in a scripting application using log4j

2007-07-09 Thread minimoe
Hi! I've got a question regarding log4j and propagating errors in a program flow. I'm currently developing test case scripts using Rational Functional Tester which has a poor logging system and I've looked into using log4j instead. I can't find a way to make log4j propagate errors to a "higher i