Skip Menu |
 

This queue is for tickets about the Net-Daemon CPAN distribution.

Report information
The Basics
Id: 7814
Status: resolved
Worked: 30 min
Priority: 0/
Queue: Net-Daemon

People
Owner: MNOONING [...] cpan.org
Requestors: bug [...] wingenbach.org
Cc:
AdminCc:

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



Subject: logging to syslog broken
Download (untitled) / with headers
text/plain 395b
The Log subroutine attempts to log to syslog. However, it fails with the error: Undefined subroutine &Sys::Syslog::syslog called at /usr/lib/perl5/site_perl/5.8.3/Net/Daemon/Log.pm line 118. By preceding the call with the following code, the error is eliminated: eval { require Sys::Syslog }; if ($@) { die "Cannot open Syslog: $@"; } -- John Wingenbach
Download (untitled) / with headers
text/plain 420b
This bug is three years old and no one has reported it since. The patch you show is done in sub OpenLog, which is invoked by sub Log to obtain $logfile. The third else clause of the 'if $logfile' is the line I think you are referring to. The current Net-Daemon revision is now up to 0.41. Hopefully this bug is resolved. If not, hopefully the CPAN testers will flag it. If that happens I will look into it again.


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.