Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^3: Log4perl & Apache (mod_perl)

by theguest (Initiate)
on Apr 29, 2013 at 14:46 UTC ( #1031222=note: print w/replies, xml ) Need Help??

in reply to Re^2: Log4perl & Apache (mod_perl)
in thread Log4perl & Apache

Thanks for the link. I use Log::Log4perl::Catalyst (part of the Log::Log4perl package), so Log4perl is automatically initialized only once. I modified my config so log4perl in no longer async
log4perl.rootLogger = INFO, Syncer log4perl.appender.Syncer = Log::Log4perl::Appender::Synchronized log4perl.appender.Syncer.appender = LOGFILE log4perl.appender.LOGFILE=Log::Log4perl::Appender::File .... ....
but still no furhter log entries were generated, only the inital one during apache startup. This is how i integrate log4perl:
use Log::Log4perl::Catalyst; .... __PACKAGE__->log(Log::Log4perl::Catalyst->new(__PACKAGE__->path_to('lo +g4perl.conf')->stringify)); ....

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031222]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2017-06-24 04:31 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (556 votes). Check out past polls.