Re: Extracting information from log4j messages

2006-05-31 Thread zimske
--- The elements of your specified pattern basically do the following: %d{ABSOLUTE} - Formats the value of LoggingEvent.timestamp (also available using LoggingEvent.getTimestamp() in log4j 1.3). %p - Formats the value of LoggingEvent.level (LoggingEvent.getLevel()) %l - Formats the valu

Re: Extracting information from log4j messages

2006-05-30 Thread Curt Arnold
On May 30, 2006, at 7:55 AM, zimske wrote: Hello I'd like to know if there's a way to extract detailed information from the message that is generated with the defined pattern. I'm aware of getThreadName(), getMessage() methods and so forth. However, my layout formats the message with follo

Re: Extracting information from log4j messages

2006-05-30 Thread James Stauffer
Look at the code to see how it gets that info. On 5/30/06, zimske <[EMAIL PROTECTED]> wrote: Hello I'd like to know if there's a way to extract detailed information from the message that is generated with the defined pattern. I'm aware of getThreadName(), getMessage() methods and so forth. How