The best way to do it is with slf4j MDC class probably. Sorry, forget the
question, it is not Tapestry related. It can be done elegantly with logging
framework.



karu3 wrote:
> 
> Hello!
> 
> Can anyone think of an *elegant* way how to change the T5 loggers to
> include some per request information (e.g. sessionid, or
> request.getRemoteAddress() or something similar) in order to provide
> better traceability of webapp events? Seems like a common problem.
> 
> I am not an expert on Tapestry 5 IoC but an elegant solution does not seem
> to be so easily possible (LoggerSourceImpl is provided in RegistryBuilder
> constructor):-(
> 
> Thanks,
> 
> Priit.
> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-T5--How-to-add-context-info-to-the-log-messages-tp18004137p18005738.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to