logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From selezovikj <semir.elezo...@gmail.com>
Subject No setMessage in LoggingEvent
Date Wed, 29 Oct 2008 13:29:33 GMT

Dear All, 

I was wondering why doesn't LoggingEvent have the setMessage method, but
only getMessage() ? 
I have a LoggingEvent passed to a queue, and then I get the message of the
LoggingEvent using getMessage(), do some filtering on it, and later I want
to put the filtered message back in the LoggingEvent, so that later I can
pass the whole LoggingEvent and log it using callAppenders(event) (so that I
can keep the original timestamp, level etc. ) ? ? ? 
View this message in context: http://www.nabble.com/No-setMessage-in-LoggingEvent-tp20227123p20227123.html
Sent from the Log4j - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message