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
In reply to Log4perl & Apache by theguest
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |