On Sun, 16 Mar 2014, Sonderegger, Markus wrote:

I noticed that $logger->logcroak("Go to Syslog”) is not seen in syslog
because the FATAL error level is not mapped to one of the
Log::Dispatch::Syslog levels.

This is a bug in earlier versions of Sys::Syslog, not Log4perl.

Make sure you have a recent installation of Sys::Syslog, the problem got
fixed in 0.31:

http://cpansearch.perl.org/src/SAPER/Sys-Syslog-0.33/Changes

0.31 -- 2012.08.18 -- Sebastien Aperghis-Tramoni (SAPER) [BUGFIX] Level
  'emerg' could not be used since v0.29.


Simply get the latest Sys::Syslog (0.33) from CPAN, and you're golden.

-- -- Mike

Mike Schilli
m...@perlmeister.com


Is there a way to circumvent this or do I oversee anything?

Regards

Markus

_____________________________________________________________

Dr. Markus Sonderegger

Application Integration

Bank Julius Baer & Co. Ltd.

Hohlstrasse 600, P.O. Box, CH-8010 Zurich, Switzerland

Telephone +41 58 88 77281, Telefax +41 58 88 74851

Mobile Phone +41 79 698 09 79

www.juliusbaer.com

 

Julius Baer cares about the environment: Please do not print this e-mail
unless you really need to.

 



*****JuliusBaer Disclaimer***** This e-mail is for the intended recipient
only and may contain confidential or privileged information. If you have
received this e-mail by mistake, please contact us immediately and
completely delete it (and any attachments) and do not forward it or inform
any other person of its contents. If you send us messages by e-mail, we take
this as your authorisation to correspond with you by e-mail, however, we
reserve the right not to execute orders and instructions transmitted by
e-mail at any time and without further explanation. If you do not wish to
receive any further e-mail correspondence please let us know. E-mail
transmission cannot be guaranteed to be secure or error-free as information
could be intercepted, amended, corrupted, lost, destroyed, arrive late or
incomplete, or contain viruses. Neither the Julius Baer Group nor the sender
accept liability for any errors or omissions in the content of this message
which arise as a result of its e-mail transmission. Please note that all
e-mail communications to and from the Julius Baer Group may be monitored.
This communication is for informational purposes only. It is not intended as
an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
log4perl-devel mailing list
log4perl-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/log4perl-devel

Reply via email to