Ruby 1.6.7 on Solaris 9
Whenever I pass Syslog::LOG_USER as the facility, it seems to log the
message twice to /var/adm/messages. I didn’t see this with LOG_NEWS,
LOG_MAIL, etc. It’s not supposed to do that, is it? I only see one
’crit’ entry in /etc/syslog.conf, btw.
Here’s the script I used:
Syslog.open($0,Syslog::LOG_PID | Syslog::LOG_NDELAY, Syslog::LOG_USER)
While I’m at it, would a (root only) interface to /etc/syslog.conf be
worth adding to the syslog module?