[Catalyst] Recommendation For Logging To A File

hkclark at gmail.com hkclark at gmail.com
Mon Sep 25 02:16:57 CEST 2006


On 9/24/06, Gavin Henry <ghenry at perl.me.uk> wrote:
>
> Well, for our site (http://www.suretecsystems.com), we use Log4perl, but
> it hosted in a weird kind of way by our friend, so we don't get access to
> the Apache logs directly, like Bill does. We therefore trap stderr etc.
> and log to our own file like so (probably hits our performance, but hey):
>
> Suretec.pm (with rest of stuff snipped out, see Log4perl docs)
>

Thanks to Bill, Brian and Gavin for their information.  I should have
mentioned that I'm running under FastCGI and I also find the "log
entry prefix" Brian mentions to be a big pain in the butt.  I'll try
Catalyst::Log::Log4perl.

Regards,
Kennedy



More information about the Catalyst mailing list