Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Welcome to the Monastery
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2014-04-23 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (557 votes), past polls