On Tue, Oct 29, 2024 at 02:14:40PM +0000, Simon McVittie wrote:
> Sys::Syslog is in libperl5.40, and perl is Priority: standard, so
> non-minimal systems will generally have it installed anyway.

Doesn't Sys::Syslog by default expect a listening and reachable syslogd
on ::1 Port 514, while logger goes through /dev/log or some other Unix
socket? I feel that the local unix socket is more likely to work during
installation.

I'd rather not have to write tens of lines of code to pamper Sys::Syslog
to do the right thing and handle any errors it might report. Is there
boilerplate code for safe and robust use of Sys::Syslog, and for use of
a module that might not be present? I have lost most of my perl
proficiency in the last years.

Greetings
Marc

Reply via email to