Skip Menu |

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

Report information
The Basics
Id: 20138
Status: resolved
Priority: 0/
Queue: Net-Server

People
Owner: Nobody in particular
Requestors: david_ [...] _schweikert.ch
Cc:
AdminCc:

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



Subject: Add 'nofatal' to openlog
By default openlog and syslog do croak() if syslog is not available (because of a restart, for example). To make programs using Sys::Syslog more robust, the 'nofatal' option has been implemented in Sys::Syslog. See bug #17316. Could you add support for it in Net::Server? Right now it is not possible to specify it, since syslog_logopt is checked for known options. I think that it would make sense to make it default ('pid,nofatal' instead of 'pid'). Thanks David
This has been added in the 0.94 release of Net::Server. It is smart and only adds the nofatal flag if the the version of Sys::Syslog supports it.