Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

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)); ....

Comment on Re^3: Log4perl & Apache (mod_perl)
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1031222]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2015-11-30 09:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (769 votes), past polls