[Catalyst] How to enhance Log4Perl log-files about the loggend in user ($c->user->id)?

Bill Moseley moseley at hank.org
Thu Jul 23 03:12:05 GMT 2009


On Tue, Jul 21, 2009 at 7:41 AM, Christoph Metz <mail-lao at web.de> wrote:

>
> i want to see which debug/error/warn message was logged by which user.


I'm using this early in the request after I have $user.

  Log::Log4perl::MDC->put( 'user', $user->id );



-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20090722/1292a=
8e6/attachment.htm


More information about the Catalyst mailing list