logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stadelmann Josef" <josef.stadelm...@axa-winterthur.ch>
Subject AW: append user details with exception stacktrace
Date Thu, 14 Jul 2011 15:45:03 GMT
The event is getting to log
The logger.level says what gets passed to appenders
The appender.threshold says what the appender sends to the outside world 
The filters says (if any) what can pass to the outside world
The formatters say how the event.message is formatted 

Now what you like to know?

Josef

-----Urspr√ľngliche Nachricht-----
Von: fachhoch [mailto:fachhoch@gmail.com] 
Gesendet: Donnerstag, 14. Juli 2011 16:48
An: log4j-user@logging.apache.org
Betreff: Re: append user details with exception stacktrace


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



Mime
View raw message