Log4j1.3 help!!

2007-06-23 Thread akshay kumar
HI, I installed log4j1.3 for my tomcat 5.0 and able to run it. However I am getting very large amount of logs at the start of tomcat for my application.. It seems some error but I dont know what it is? below is my appender config and the sample of generated logs. please help me in this.

Re: JUnit testing of output logged with log4j?

2007-06-23 Thread Bob Jacobsen
At 10:58 PM -0500 6/23/07, Steve Souza wrote: JAMon can keep aggregate stats for your messages (error/fatal/warn/info/debug and more), and you could test to ensure errors did not occur with JUNit against the jamon data. for more on jamon you can go to www.jamonapi.com. For more on how jamon wo

Re: JUnit testing of output logged with log4j?

2007-06-23 Thread Steve Souza
JAMon can keep aggregate stats for your messages (error/fatal/warn/info/debug and more), and you could test to ensure errors did not occur with JUNit against the jamon data. for more on jamon you can go to www.jamonapi.com. For more on how jamon works with log4j (no code changes are required.

JUnit testing of output logged with log4j?

2007-06-23 Thread Bob Jacobsen
I've got a bunch of code that uses log4j for logging, and a large number of unit tests done with JUnit. As is the nature of these tests, they test a lot of error conditions, which results in lots of error and warning messages logged when running the tests. Up until now, we just ignored those:

Re: help to extend PatternLayout

2007-06-23 Thread James Stauffer
What are you trying to accomplish? On 6/23/07, Naider Chen <[EMAIL PROTECTED]> wrote: Hi: I'm trying extend PatternLayout in order to intercept log message. The foremat method basically return all the log message included in the ConversionPattern. I'd like to get the %m and do some pre-proces

help to extend PatternLayout

2007-06-23 Thread Naider Chen
Hi: I'm trying extend PatternLayout in order to intercept log message. The foremat method basically return all the log message included in the ConversionPattern. I'd like to get the %m and do some pre-process and return it. I'm not sure this is the way to get %m can anybody help me with this.