cannot use LOG_EMERG

Bug #328519 reported by Fredrik Ljunggren
2
Affects Status Importance Assigned to Milestone
perl (Ubuntu)
New
Undecided
Unassigned

Bug Description

Reference: https://rt.cpan.org/Public/Bug/Display.html?id=17518

Bug in Syslog.pm version 0.13, fixed in 0.14:

cannot use LOG_EMERG or "emerg" as priority with following error.

syslog: invalid level/facility: emerg at ./syslog.pl line 46

Syslog.pm#syslog (line 632) is
if ($_ eq 'kern' || $num <= 0) {
but I think
if ($_ eq 'kern' || $num < 0) {
is correct.

Revision history for this message
Steve Peters (steve-fisharerojo) wrote : Re: [Bug 328519] [NEW] cannot use LOG_EMERG

Nice! Trying to get a patch into Ubuntu around the maintainers back.
This ticket should be immediately closed.

Steve Peters
<email address hidden>

On Thu, Feb 12, 2009 at 7:39 AM, Fredrik Ljunggren <email address hidden> wrote:
> Public bug reported:
>
> Reference: https://rt.cpan.org/Public/Bug/Display.html?id=17518
>
> Bug in Syslog.pm version 0.13, fixed in 0.14:
>
>
> cannot use LOG_EMERG or "emerg" as priority with following error.
>
> syslog: invalid level/facility: emerg at ./syslog.pl line 46
>
> Syslog.pm#syslog (line 632) is
> if ($_ eq 'kern' || $num <= 0) {
> but I think
> if ($_ eq 'kern' || $num < 0) {
> is correct.
>
> ** Affects: perl (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> cannot use LOG_EMERG
> https://bugs.launchpad.net/bugs/328519
> You received this bug notification because you are subscribed to perl in
> ubuntu.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.