theguest has asked for the wisdom of the Perl Monks concerning the following question:
I host my Catalyst web application with Apache2 and ModPerl. All works fine and fast so far. The web application uses the Log4perl modul to generate a logfile.
The problem is that only log entries are generated when the apache service is starting. Afterwards no new entries were generated.
If I use the integrated development server of catalyst instead, log entries are generated normaly.
I already checked the access rights and these seem ok: the apache process is owner and can write.
Can anyone help me with this prolbem ?!?
This is my log4perl config:
#log4perl.logger.myapp=INFO, LOGFILE # --> i tried this first but without success log4perl.rootLogger=INFO,LOGFILE log4perl.appender.LOGFILE=Log::Log4perl::Appender::File log4perl.appender.LOGFILE.filename=myapp.log log4perl.appender.LOGFILE.mode=append log4perl.appender.LOGFILE.layout=PatternLayout log4perl.appender.LOGFILE.layout.ConversionPattern=[%d] [%p] %m%n
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Log4perl & Apache
by Anonymous Monk on Apr 24, 2013 at 11:08 UTC | |
by Anonymous Monk on Apr 24, 2013 at 11:10 UTC | |
by theguest (Initiate) on Apr 29, 2013 at 14:46 UTC |