in reply to Log4perl & Apache

log4perl.appender.LOGFILE.filename=myapp.log

Try using an absolute path

It also might be critical to know how host your Catalyst web application with Apache2 and ModPerl. and how you pass your log4perl configuration

Replies are listed 'Best First'.
Re^2: Log4perl & Apache (mod_perl)
by Anonymous Monk on Apr 24, 2013 at 11:10 UTC
      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)); ....