Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: leskop [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.29
Fixed in: 0.31



Subject: LOG_EMERG log level reports an error
logging to the "emerg" level breaks bug 17518 is similar, and says it is fixed in 0.14, but I am using Sys::Syslog version 0.29-1+b2 on debian and it still appears to be broken. Sys::Syslog version - 0.29-1+b2 on debian Perl version: perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi $ uname -a Linux babylon 3.1.0-1-amd64 #1 SMP Tue Jan 10 05:01:58 UTC 2012 x86_64 GNU/Linux Example code: #!/usr/bin/perl use Sys::Syslog; openlog("perl", "pid,ndelay", "local0"); syslog("EMERG","test output"); Result: syslog: level must be given at /var/tmp/syslog_test.pl line 4 Every other log level works (alert, crit, err, warning, notice, info, debug)
Subject: Re: [rt.cpan.org #82368] LOG_EMERG log level reports an error
Date: Fri, 4 Jan 2013 14:58:21 +0100
To: bug-Sys-Syslog [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
Pete Lesko wrote via RT: Show quoted text
> logging to the "emerg" level breaks > > bug 17518 is similar, and says it is fixed in 0.14, but I am using > Sys::Syslog version 0.29-1+b2 on debian and it still appears to be > broken. > > Example code: > > #!/usr/bin/perl > use Sys::Syslog; > openlog("perl", "pid,ndelay", "local0"); > syslog("EMERG","test output"); > > Result: > syslog: level must be given at /var/tmp/syslog_test.pl line 4
This was fixed in version 0.31 » https://metacpan.org/source/SAPER/Sys-Syslog-0.32/Changes#L8 -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.
Subject: Re: [rt.cpan.org #82368] LOG_EMERG log level reports an error
Date: Fri, 4 Jan 2013 07:58:26 -0800 (PST)
To: "bug-Sys-Syslog [...] rt.cpan.org" <bug-Sys-Syslog [...] rt.cpan.org>
From: Peter Lesko <leskop [...] yahoo.com>
Thank you Show quoted text
________________________________ From: Sébastien Aperghis-Tramoni via RT <bug-Sys-Syslog@rt.cpan.org> To: leskop@yahoo.com Sent: Friday, January 4, 2013 8:58 AM Subject: Re: [rt.cpan.org #82368] LOG_EMERG log level reports an error <URL: https://rt.cpan.org/Ticket/Display.html?id=82368 > Pete Lesko wrote via RT:
> logging to the "emerg" level breaks > > bug 17518 is similar, and says it is fixed in 0.14, but I am using > Sys::Syslog version 0.29-1+b2 on debian and it still appears to be > broken. > > Example code: > > #!/usr/bin/perl > use Sys::Syslog; > openlog("perl", "pid,ndelay", "local0"); > syslog("EMERG","test output"); > > Result: > syslog: level must be given at /var/tmp/syslog_test.pl line 4
This was fixed in version 0.31 » https://metacpan.org/source/SAPER/Sys-Syslog-0.32/Changes#L8 -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.