From: Kevin G. <cp...@go...> - 2002-10-23 17:27:31
|
Try editing line #51 in Log/Log4perl/Appender.pm adding a $@ to the end of the die string, like this: $@ and die "ERROR: appenderclass '$appenderclass' doesn't exist\n$@"; That'll give you more info on the error. hai wu wrote: > I used the following configurations in V0.22, it works fine, but not in > V0.25: > > log4perl.logger.ERR=ERROR, screen, mail > log4perl.appender.screen=Log::Dispatch::Screen > log4perl.appender.screen.stderr=0 > log4perl.appender.screen.layout=Log::Log4perl::Layout::PatternLayout > log4perl.appender.screen.layout.ConversionPattern=%d %p> %F{1}:%L %M - > %m%n > log4perl.appender.mail=Log::Dispatch::Email::MailSend > log4perl.appender.mail.subject=Load Balancer Error > log4perl.appender.mail.to=ww...@ww... > log4perl.appender.mail.from=ww...@ww... > log4perl.appender.mail.buffered=0 > log4perl.appender.mail.layout=Log::Log4perl::Layout::PatternLayout > log4perl.appender.mail.layout.ConversionPattern=%d %p> %F{1}:%L %M - %m%n > > The error message is: > ERROR: appenderclass 'Log::Dispatch::Email::MailSend' doesn't exist > > But I checked and the Log::Dispatch::Email DOES exist. What could be > wrong with this new version? > > Thanks, > Hai > -- Happy Trails . . . Kevin M. Goess (and Anne and Frank) 904 Carmel Ave. Albany, CA 94706 (510) 525-5217 |