Re: [log4perl-devel] package 'Log::Dispatch::Email::MailSender' not registered for warnings
Problem solved; thanks a lot! -Original Message- From: Mike Schilli [mailto:m...@perlmeister.com] Sent: Mittwoch, 8. Juli 2009 18:53 To: Linke Markus (KSTB 11) Cc: Mike Schilli; log4perl-devel@lists.sourceforge.net Subject: RE: [log4perl-devel] package 'Log::Dispatch::Email::MailSender' not registered for warnings On Wed, 8 Jul 2009, Linke Markus (KSTB 11) wrote: I only have 2.21, you think that might be the reason? Possibly. I'm not affiliated with Log::Dispatch, but its 2.22 change log has the line - Fixed a misuse of warnings::enabled(). Reported by Darian Patrick. RT #39784. which indicates a fix in this area. Give it a try! -- Mike Mike Schilli m...@perlmeister.com -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel
Re: [log4perl-devel] package 'Log::Dispatch::Email::MailSender' not registered for warnings
Hi Mike, I only have 2.21, you think that might be the reason? mxi...@zus45a-5402 mxint1 $ perl -e 'use Log::Log4perl; use Log::Dispatch 2.22;' Log::Dispatch version 2.22 required--this is only version 2.21 at -e line 1. BEGIN failed--compilation aborted at -e line 1. Given the kind of environment it's going to be a lot of pain to get this updated, so I would only like to do this if it is really required ... Cheers, Markus -Original Message- From: Mike Schilli [mailto:m...@perlmeister.com] Sent: Dienstag, 7. Juli 2009 17:35 To: Linke Markus (KSTB 11) Cc: log4perl-devel@lists.sourceforge.net Subject: Re: [log4perl-devel] package 'Log::Dispatch::Email::MailSender' not registered for warnings On Tue, 7 Jul 2009, Linke Markus (KSTB 11) wrote: After successfully running the whole script it throws a warning: package 'Log::Dispatch::Email::MailSender' not registered for warnings at /app/CMpkg2/perl_588/lib/site_perl/5.8.8/Log/Dispatch/Email/MailSender .p m line 58 END failed--call queue aborted. Which version of Log::Dispatch are you using, the latest from CPAN, 2.22? -- Mike Mike Schilli m...@perlmeister.com -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel
Re: [log4perl-devel] package 'Log::Dispatch::Email::MailSender' not registered for warnings
On Wed, 8 Jul 2009, Linke Markus (KSTB 11) wrote: I only have 2.21, you think that might be the reason? Possibly. I'm not affiliated with Log::Dispatch, but its 2.22 change log has the line - Fixed a misuse of warnings::enabled(). Reported by Darian Patrick. RT #39784. which indicates a fix in this area. Give it a try! -- Mike Mike Schilli m...@perlmeister.com -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel
[log4perl-devel] package 'Log::Dispatch::Email::MailSender' not registered for warnings
Hi, I'm using Log4perl for a while but have a problem which I haven't seen before. After successfully running the whole script it throws a warning: 2009-07-07 16:50:05 [valuations.pl:main] INFO Duplicated valuations removed. 2009-07-07 16:50:05 [valuations.pl:main] INFO Unchanged valuations removed. 2009-07-07 16:50:05 [valuations.pl:main] INFO Report on duplicate entries in MTM#IMPORT#HELIOS1_DBF completed. 2009-07-07 16:50:05 [valuations.pl:main] INFO Duplicated valuations removed from MTM#IMPORT#HELIOS1_DBF. 2009-07-07 16:50:05 [valuations.pl:main] INFO 2009-07-07 16:50:05 [valuations.pl:main] INFO Summary of results: 2009-07-07 16:50:05 [valuations.pl:main] INFO --- 2009-07-07 16:50:05 [valuations.pl:main] INFO 2009-07-07 16:50:05 [valuations.pl:main] INFO All files (1) with 5 entries uploaded to Mx.3 financial database. 2009-07-07 16:50:05 [valuations.pl:main] INFO Murex trade missing for 0 valuations total. 2009-07-07 16:50:05 [valuations.pl:main] INFO valuations on dead deals 0 valuations total. 2009-07-07 16:50:05 [valuations.pl:main] INFO currency mismatch for valuation 0 valuations total. 2009-07-07 16:50:05 [valuations.pl:main] INFO No valuations provided 4253 valuations total. 2009-07-07 16:50:05 [valuations.pl:main] INFO done. Please run import processing script now. package 'Log::Dispatch::Email::MailSender' not registered for warnings at /app/CMpkg2/perl_588/lib/site_perl/5.8.8/Log/Dispatch/Email/MailSender.p m line 58 END failed--call queue aborted. Has anybody seen this before? My config looks like this: 2009-07-07 16:51:07 [valuations.pl:main] INFO Program ./scripts/valuations.pl started with timestamp 0707165107. 2009-07-07 16:51:07 [valuations.pl:main] DEBUG log4perl.logger=DEBUG, File, Detail, Screen, Mailer, MailerInfo log4perl.appender.Screen=Log::Log4perl::Appender::ScreenColoredLevels log4perl.appender.Screen.layout=Log::Log4perl::Layout::PatternLayout log4perl.appender.Screen.layout.ConversionPattern=%d{-MM-dd HH:mm:ss} [%F{1}:%c{1}] %5p %m%n log4perl.appender.Screen.min_level=INFO log4perl.appender.File=Log::Dispatch::File log4perl.appender.File.filename=xxx log4perl.appender.File.mode=append log4perl.appender.File.min_level=info log4perl.appender.File.TZ=GMT log4perl.appender.File.DatePattern=-MM-dd-a log4perl.appender.File.max=10 log4perl.appender.File.layout=Log::Log4perl::Layout::PatternLayout log4perl.appender.File.layout.ConversionPattern=%d{-MM-dd HH:mm:ss} [%F{1}:%c{1}] %5p %m%n log4perl.appender.Detail=Log::Dispatch::File log4perl.appender.Detail.filename=xxx log4perl.appender.Detail.mode=append log4perl.appender.Detail.min_level=debug log4perl.appender.Detail.TZ=GMT log4perl.appender.Detail.DatePattern=-MM-dd-a log4perl.appender.Detail.max=3 log4perl.appender.Detail.layout=Log::Log4perl::Layout::PatternLayout log4perl.appender.Detail.layout.ConversionPattern=%d{-MM-dd HH:mm:ss} [%F{1}:%c{1}] %5p %m%n log4perl.appender.Mailer = Log::Dispatch::Email::MailSender log4perl.appender.Mailer.to = em...@email.com log4perl.appender.Mailer.from= em...@email.com log4perl.appender.Mailer.smtp= host log4perl.appender.Mailer.Server = host log4perl.appender.Mailer.buffer = 0 log4perl.appender.Mailer.subject = subject log4perl.appender.Mailer.min_level=error log4perl.appender.Mailer.layout = Log::Log4perl::Layout::PatternLayout log4perl.appender.Mailer.layout.ConversionPattern=%d{-MM-dd HH:mm:ss} %5p %m%n log4perl.appender.MailerInfo = Log::Dispatch::Email::MailSender log4perl.appender.MailerInfo.to = em...@email.com log4perl.appender.MailerInfo.from= em...@email.com log4perl.appender.MailerInfo.smtp= host log4perl.appender.MailerInfo.Server = host log4perl.appender.MailerInfo.buffer = 0 log4perl.appender.MailerInfo.subject = subject log4perl.appender.MailerInfo.min_level=info log4perl.appender.MailerInfo.layout = Log::Log4perl::Layout::PatternLayout log4perl.appender.MailerInfo.layout.ConversionPattern=%d{-MM-dd HH:mm:ss} %5p %m%n 2009-07-07 16:51:07 [valuations.pl:main] DEBUG reading dbsource.mxres file to get database information Obviously if I remove the Log::Dispatch::Email::MailSender I dont get this error, but also no email notification. I have to use Email::MailSender, because I need to overwrite the email-sender address. Thanks, Markus -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry___ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel
Re: [log4perl-devel] package 'Log::Dispatch::Email::MailSender' not registered for warnings
On Tue, 7 Jul 2009, Linke Markus (KSTB 11) wrote: After successfully running the whole script it throws a warning: package 'Log::Dispatch::Email::MailSender' not registered for warnings at /app/CMpkg2/perl_588/lib/site_perl/5.8.8/Log/Dispatch/Email/MailSender.p m line 58 END failed--call queue aborted. Which version of Log::Dispatch are you using, the latest from CPAN, 2.22? -- Mike Mike Schilli m...@perlmeister.com -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry ___ log4perl-devel mailing list log4perl-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/log4perl-devel