|
From: Kevin G. <ke...@go...> - 2002-10-23 17:29:25
|
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 problem.
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
> log...@ww...
> log...@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
>
>
>
> -------------------------------------------------------
> This sf.net emial is sponsored by: Influence the future
> of Java(TM) technology. Join the Java Community
> Process(SM) (JCP(SM)) program now.
> http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0002en
> _______________________________________________
> log4perl-devel mailing list
> log...@li...
> https://lists.sourceforge.net/lists/listinfo/log4perl-devel
--
Happy Trails . . .
Kevin M. Goess
(and Anne and Frank)
904 Carmel Ave.
Albany, CA 94706
(510) 525-5217
|