[Catalyst] -Debug output controlled with PerlLogHandler?
Adam Jacob
adam at stalecoffee.org
Thu Jun 8 01:03:03 CEST 2006
On Jun 7, 2006, at 3:02 PM, Gavin Henry wrote:
> Dear All,
>
> Is there anything in core that we can use to redirect -Debug output
> to a
> file/DB/etc, rather than normal Apache logs, using PerlLogHandler?
>
> Like:
>
> http://search.cpan.org/~stas/DocSet-0.19/examples/site/src/start/
> tips/logging.pod
>
> Or should I just knock one up for my own use?
>
> Would be a nice thing to have, e.g just having "PerlLogHandler
> MyApp", and
> then something in your config/Config.yml.
>
> Thanks.
You can use Catalyst::Log::Log4perl to do that.
http://search.cpan.org/~holoway/Catalyst-Log-Log4perl-0.3/
http://log4perl.sourceforge.net/
Adam
More information about the Catalyst
mailing list