Jon Schutz wrote:
Somewhere early on on the request cycle doLog::Log4perl::MDC->put( 'user' => $user ); then insert it into your log messages via your Log4perl configuration such as: log4perl.appender.Logfile.layout.ConversionPattern: "%d %-5p %c - USER:%X{user} - %m%n"
Doc patches on Catalyst::Log::Log4perl showing how to do this would be very welcome.
Anyone? Cheers t0m _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
