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

Extracting information from log4j messages

2006-05-30 Thread zimske
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 following pattern: %d{ABSOLUTE} %5p (%l) - [%c] - %m%n.

Re: log4j

2006-05-24 Thread zimske
thank you for your reply, christian, however, i'm afraid that even though the chainsaw looks great this is not what i must do. (no matter how much would that make my life easier) what i need to do is to integrate log4j with tivoli enterprise console. i've started writing my own appender and getti

log4j

2006-05-23 Thread zimske
hi everybody.. i have to get something like this console output in two (or more) separate strings. 0 [main] DEBUG test.Hello - Hello world. 10 [main] INFO test.Hello - What a beatiful day. the goal is to send the entire lines above, separately, to the application which would then display that i