Re: Handling Logging Events Directly

2008-02-11 Thread Paul Smith
I'm trying to use the log4j Receivers to bring the logging events that post to those files (or any type of receiver (appender?, let me know if I'm getting the terminology wrong)) back into my system to handle them. I need to grab the events as the Receiver gets them so I can convert them

Re: merging of logs

2008-02-11 Thread Curt Arnold
On Feb 11, 2008, at 10:45 PM, palakolanusrinu wrote: Its urgent can any one reply plz palakolanusrinu wrote: Can any one tell me how to merge two log files using log4j. I'm getting two log files from two different clients.Now i want to merge those two logs into single log file is there

Re: Handling Logging Events Directly

2008-02-11 Thread bakermatt
No problem, I'll clarify the best I can. The basic idea behind the system is this: There are a number of independent systems all logging using log4j to their own respective log files. The intended use for this system is to keep track of daily, weekly, monthly..etc stats for a particular system

Re: Handling Logging Events Directly

2008-02-11 Thread Paul Smith
I am working on a system implementing the log4j receivers that requires me to directly access the LoggingEvent when it is posted to an appender. The basic idea is to take external logging events, read them in through a Receiver, and store data about them. Someone please let me know if I'

Handling Logging Events Directly

2008-02-11 Thread bakermatt
Hi, I am working on a system implementing the log4j receivers that requires me to directly access the LoggingEvent when it is posted to an appender. The basic idea is to take external logging events, read them in through a Receiver, and store data about them. Someone please let me know if I'm o

merging of logs

2008-02-11 Thread palakolanusrinu
Can any one tell me how to merge two log files using log4j. I'm getting two log files from two different clients.Now i want to merge those two logs into single log file is there any open source is avilable to achive this or is there any way to do this? Thanks in advance -- View this message in

Re: merging of logs

2008-02-11 Thread palakolanusrinu
Its urgent can any one reply plz palakolanusrinu wrote: > > Can any one tell me how to merge two log files using log4j. > > I'm getting two log files from two different clients.Now i want to merge > those two logs into single log file is there any open source is avilable > to achive this or

Re: Uncaught Exception in Log4J 1.2.15

2008-02-11 Thread Maarten Bosteels
On Feb 11, 2008 9:40 AM, Maarten Bosteels <[EMAIL PROTECTED]> wrote: > Hello Nathan, > > I guess this is what is happening: > * one thread is writing a loggingEvent to the log file, > => the PatternParser calls toString() on all MDC values and hence iterates > over the elements in your TreeMap > *

Re: Uncaught Exception in Log4J 1.2.15

2008-02-11 Thread Maarten Bosteels
Hello Nathan, I guess this is what is happening: * one thread is writing a loggingEvent to the log file, => the PatternParser calls toString() on all MDC values and hence iterates over the elements in your TreeMap * at the same time another thread updates the TreeMap causing a java.util.Concurrent