Skip Menu |

This queue is for tickets about the Sys-Syslog CPAN distribution.

Report information
The Basics
Id: 20955
Status: resolved
Priority: 0/
Queue: Sys-Syslog

People
Owner: Nobody in particular
Requestors: dmartin [...] sccd.ctc.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.14



Subject: LOG_EMERG problem
Date: Fri, 11 Aug 2006 16:52:01 -0700
To: bug-sys-syslog [...] rt.cpan.org
From: Dylan Martin <dmartin [...] sccd.ctc.edu>
Hi, I ran accross what appears to be a bug in Sys::Syslog. You can see the conversation on Perlmonks at http://www.perlmonks.org/?node_id=566971 Essentially, LOG_EMERG equals zero on Linux (and probably elsewhere), and Sys::Syslog croaks if the log level is zero. Here's the croaky bit: if ($_ eq 'kern' || $num <= 0) { croak "syslog: invalid level/facility: $_" } Let me know if I can help. -- Dylan Martin Seattl WA
Subject: Re: [rt.cpan.org #20955] LOG_EMERG problem
Date: Sat, 12 Aug 2006 02:32:09 +0200
To: bug-Sys-Syslog [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Show quoted text
> Essentially, LOG_EMERG equals zero on Linux (and probably elsewhere), > and Sys::Syslog croaks if the log level is zero. Here's the croaky > bit: > > if ($_ eq 'kern' || $num <= 0) { > croak "syslog: invalid level/facility: $_" > }
This was already fixed in version 0.14. See ticket #17518. Therefore you are certainly using an old version. Please update to the latest version and try again. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: Re: [rt.cpan.org #20955] LOG_EMERG problem
Date: Fri, 11 Aug 2006 17:35:18 -0700
To: Sébastien Aperghis-Tramoni via RT <bug-Sys-Syslog [...] rt.cpan.org>
From: Dylan Martin <dmartin [...] sccd.ctc.edu>
Oops!! Sorry! Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=20955 > > >
> > Essentially, LOG_EMERG equals zero on Linux (and probably elsewhere), > > and Sys::Syslog croaks if the log level is zero. Here's the croaky > > bit: > > > > if ($_ eq 'kern' || $num <= 0) { > > croak "syslog: invalid level/facility: $_" > > }
> > This was already fixed in version 0.14. See ticket #17518. > Therefore you are certainly using an old version. > Please update to the latest version and try again. > > -- > Sébastien Aperghis-Tramoni > > Close the world, txEn eht nepO.