From: <tm...@na...> - 2003-02-11 14:45:07
|
Hi, please allow this newbie question. I am trying to run the following initialization with log4perl. use Log::Log4perl qw(get_logger); Log::Log4perl->init($LogConfFile) or die "Log configuration cannot be read from file $LogConfFile!"; my $logger = get_logger("MD::NetScheduler"); Unfortunately init does not return true, even though the $LogConfFile definitely exists. Its content is here: log4perl.rootLogger=DEBUG, LOGFILE log4perl.appender.LOGFILE=Log::Dispatch::File log4perl.appender.LOGFILE.filename=/home/mdnet/log/myerrs.log log4perl.appender.LOGFILE.mode=append log4perl.appender.LOGFILE.layout=PatternLayout log4perl.appender.LOGFILE.layout.ConversionPattern=%d %6p %20c %15F{1}:%5L - %m %n Your help is very much appreciated. I am running Log4perl 0.29 Regards Tim |