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



MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,UNPARSEABLE_RELAY
Content-Disposition: inline
Received-SPF: pass (x1.develooper.com: local policy)
content-type: text/plain; charset="utf-8"
Received: from la.mx.develooper.com (ss1.fabel.dk [63.251.223.179]) by diesel.bestpractical.com (Postfix) with SMTP id 2BF394D803F for <bug-sys-syslog [...] rt.cpan.org>; Fri, 11 Aug 2006 19:53:44 -0400 (EDT)
Received: (qmail 17950 invoked by alias); 11 Aug 2006 23:53:43 -0000
Received: from edison2.seattlecentral.edu (HELO edison2.seattlecentral.edu) (168.156.85.14) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 11 Aug 2006 16:53:41 -0700
Received: from edison2.seattlecentral.edu (localhost.localdomain [127.0.0.1]) by edison2.seattlecentral.edu (8.13.7/8.13.7) with ESMTP id k7BNq22T008439 for <bug-sys-syslog [...] rt.cpan.org>; Fri, 11 Aug 2006 16:52:03 -0700
Received: (from dmartin [...] localhost) by edison2.seattlecentral.edu (8.13.7/8.13.7/Submit) id k7BNq1aX008438 for bug-sys-syslog [...] rt.cpan.org; Fri, 11 Aug 2006 16:52:01 -0700
Delivered-To: cpan-bug+sys-syslog [...] diesel.bestpractical.com
Subject: LOG_EMERG problem
User-Agent: Mutt/1.4.2.1i
Return-Path: <dmartin [...] edison2.seattlecentral.edu>
X-Original-To: bug-sys-syslog [...] rt.cpan.org
X-Spam-Check-BY: la.mx.develooper.com
Date: Fri, 11 Aug 2006 16:52:01 -0700
Message-Id: <20060811235201.GC935 [...] sccd.ctc.edu>
To: bug-sys-syslog [...] rt.cpan.org
From: Dylan Martin <dmartin [...] sccd.ctc.edu>
X-RT-Original-Encoding: us-ascii
Content-Length: 430
Download (untitled) / with headers
text/plain 430b
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
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00
In-Reply-To: <rt-3.6.HEAD-31053-1155340431-1446.20955-4-0 [...] rt.cpan.org>
Content-Disposition: inline
Received-SPF: neutral (x1.develooper.com: local policy)
References: <RT-Ticket-20955 [...] rt.cpan.org> <20060811235201.GC935 [...] sccd.ctc.edu> <rt-3.6.HEAD-31053-1155340431-1446.20955-4-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"; format="flowed"
X-RT-Original-Encoding: ISO-8859-1
Received: from la.mx.develooper.com (ss1.fabel.dk [63.251.223.179]) by diesel.bestpractical.com (Postfix) with SMTP id 6BEE54D803F for <bug-Sys-Syslog [...] rt.cpan.org>; Fri, 11 Aug 2006 20:32:22 -0400 (EDT)
Received: (qmail 32742 invoked by alias); 12 Aug 2006 00:32:21 -0000
Received: from smtp5-g19.free.fr (HELO smtp5-g19.free.fr) (212.27.42.35) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 11 Aug 2006 17:32:15 -0700
Received: from imptest-g20.free.fr (imptest-g19.free.fr [212.27.42.37]) by smtp5-g19.free.fr (Postfix) with ESMTP id 49EB71940F for <bug-Sys-Syslog [...] rt.cpan.org>; Sat, 12 Aug 2006 02:32:09 +0200 (CEST)
Received: by imptest-g20.free.fr (Postfix, from userid 33) id 1ACA36D62; Sat, 12 Aug 2006 02:32:09 +0200 (CEST)
Received: from ant06-1-82-242-109-222.fbx.proxad.net (ant06-1-82-242-109-222.fbx.proxad.net [82.242.109.222]) by imp4.free.fr (Horde) with HTTP for <maddingue [...] free.fr>; Sat, 12 Aug 2006 02:32:09 +0200
Delivered-To: cpan-bug+sys-syslog [...] diesel.bestpractical.com
User-Agent: Internet Messaging Program (IMP) H3 (4.0.2)
Subject: Re: [rt.cpan.org #20955] LOG_EMERG problem
Return-Path: <saper [...] cpan.org>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-Sys-Syslog [...] rt.cpan.org
Date: Sat, 12 Aug 2006 02:32:09 +0200
Message-Id: <20060812023209.3vvqtdqw4k0ko4cw [...] imp4.free.fr>
To: bug-Sys-Syslog [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-30994-1155342746-446.20955-0-0 [...] rt.cpan.org>
Content-Length: 466
Download (untitled) / with headers
text/plain 466b
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.
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,UNPARSEABLE_RELAY
In-Reply-To: <rt-3.6.HEAD-30994-1155342746-446.20955-6-0 [...] rt.cpan.org>
Content-Disposition: inline
Received-SPF: pass (x1.develooper.com: local policy)
References: <RT-Ticket-20955 [...] rt.cpan.org> <20060811235201.GC935 [...] sccd.ctc.edu> <rt-3.6.HEAD-31053-1155340431-1446.20955-4-0 [...] rt.cpan.org> <20060812023209.3vvqtdqw4k0ko4cw [...] imp4.free.fr> <rt-3.6.HEAD-30994-1155342746-446.20955-6-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: iso-8859-1
Received: from la.mx.develooper.com (ss1.fabel.dk [63.251.223.179]) by diesel.bestpractical.com (Postfix) with SMTP id 7FE214D803F for <bug-Sys-Syslog [...] rt.cpan.org>; Fri, 11 Aug 2006 20:36:59 -0400 (EDT)
Received: (qmail 2045 invoked by alias); 12 Aug 2006 00:36:58 -0000
Received: from edison2.seattlecentral.edu (HELO edison2.seattlecentral.edu) (168.156.85.14) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Fri, 11 Aug 2006 17:36:57 -0700
Received: from edison2.seattlecentral.edu (localhost.localdomain [127.0.0.1]) by edison2.seattlecentral.edu (8.13.7/8.13.7) with ESMTP id k7C0ZJnQ009635 for <bug-Sys-Syslog [...] rt.cpan.org>; Fri, 11 Aug 2006 17:35:19 -0700
Received: (from dmartin [...] localhost) by edison2.seattlecentral.edu (8.13.7/8.13.7/Submit) id k7C0ZJQM009634 for bug-Sys-Syslog [...] rt.cpan.org; Fri, 11 Aug 2006 17:35:19 -0700
Delivered-To: cpan-bug+sys-syslog [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #20955] LOG_EMERG problem
User-Agent: Mutt/1.4.2.1i
Return-Path: <dmartin [...] edison2.seattlecentral.edu>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-Sys-Syslog [...] rt.cpan.org
Date: Fri, 11 Aug 2006 17:35:18 -0700
Message-Id: <20060812003518.GD935 [...] sccd.ctc.edu>
To: Sébastien Aperghis-Tramoni via RT <bug-Sys-Syslog [...] rt.cpan.org>
Content-Transfer-Encoding: 8bit
From: Dylan Martin <dmartin [...] sccd.ctc.edu>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-31013-1155343022-1778.20955-0-0 [...] rt.cpan.org>
Content-Length: 580
Download (untitled) / with headers
text/plain 580b
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.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.