|
From: Kevin G. <ke...@go...> - 2002-10-23 20:20:35
|
I've upgraded the Log4perl error message to be more verbose in the
future, that should help with the problem.
hai wu wrote:
> Kevin,
>
> Thank you. It turns out that 'Mail::Send' has not been installed. But I
> did try:
> perl -MCPAN -e 'install Log::Dispatch::Email::MailSend'
>
> But it tells me that the module is "up to date". I think it should tell me
> that its depency package "Mail::Send" needs to be installed, but it's not
> tell me that.
>
> Thank you,
> Hai
>
> On Wed, 23 Oct 2002, Kevin Goess wrote:
>
>
>>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
>>
>>
>
>
>
>
> -------------------------------------------------------
> This sf.net email 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
|