NAME

Catalyst::Plugin::Log4perl::Simple - Simple Log4perl setup for Catalyst application

VERSION

Version 0.001

SYNOPSIS

use Catalyst qw/ ... Log4Perl::Simple /;

$c->log->warn("Now we're logging through Log4perl");

This is a Catalyst plugin that installs a Log4perl handler as the Catalyst logger. For an application My::App, it looks for a Log4perl configuration file in the following locations:

my_app_log.conf
log.conf
../my_app_log.conf
../log.conf
/etc/my_app_log.conf
/etc/my_app/log.conf

If no configuration file is found, it uses a default.

AUTHOR

Peter Corlett, <abuse at cabal.org.uk>

BUGS

The rather, umm, special way it hooks in to setup() to get called, and the subsequent @ISA hacker should probably be improved.

SEE ALSO

Catalyst::Log::Log4perl

COPYRIGHT & LICENSE

Copyright 2009 Peter Corlett, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.