logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fachhoch <fachh...@gmail.com>
Subject Re: append user details with exception stacktrace
Date Thu, 14 Jul 2011 14:47:45 GMT

any help please ?  I want to modify the message which log4j is going to log ,
please help me 

fachhoch wrote:
> can I add additional information when log4j logs exceptions ?,  my root
> logger logs all errors ,   can I add a new line to the exception 
> stacktrace   ie user details which is in threadlocal , is there any
> customization I can do before message is logged to logs ? 

View this message in context: http://old.nabble.com/append-user-details--with-exception-stacktrace-tp32048303p32061804.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