From: King, J. X -N. <Jam...@di...> - 2003-10-24 17:57:08
|
I'm running in a cgi environment and attempting to initialize my logger with the following commands (straight from the manual): =20 use Log::Log4perl; =20 Log::Log4perl->init($loggerFile); =20 My $loggerFile is my config file and contains the following: =20 log4perl.rootLogger=3DINFO, LOGFILE =20 # Set-up to append to the log file log4perl.appender.LOGFILE=3DLog::Log4perl::Appender::File log4perl.appender.LOGFILE.filename=3Dlogger.txt log4perl.appender.LOGFILE.mode=3Dappend =20 # Format of the message to be logged =20 =20 log4perl.appender.LOGFILE.layout=3DPatternLayout log4perl.appender.LOGFILE.layout.ConversionPattern=3D%d [%P] %p - %m%n =20 My cgi script dies at initializing. However, I can run the initialize within a program from the command line and it work. Has anyone seen this? I'm thinking it has something to do with running in cgi mode. Thanks, - James =20 James C. King Software Engineer email: Jam...@di... <mailto:Jam...@di...>=20 (818) 623-3594 =20 |