[Catalyst] -Debug output controlled with PerlLogHandler?

Gavin Henry ghenry at perl.me.uk
Thu Jun 8 09:32:24 CEST 2006


<quote who="Adam Jacob">
> 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/

So I can put all Catalyst logging anywhere I want, and not have them go in
the Apache log files?

Thanks.




More information about the Catalyst mailing list