From: Will Parsons Date: 2007-09-01T10:15:11+09:00 Subject: Re: Syslog facility greg wrote: > Hi All, > > I am having trouble with pointing the syslog messages to a particular > facility. Is this the right way to point it at facility local1: > > Syslog.open('name_of_prog', facility = Syslog::LOG_LOCAL1) > Syslog.log(Syslog::LOG_NOTICE, "message_goes_here") > Syslog.close > > I would really appreciate your help! The way I do it is: ----- require 'syslog' ... $log = Syslog.open('progname', Syslog::LOG_PID, Syslog::LOG_LOCAL1) ... $log.info("messsage") ------ -- Will