[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SyslogFacility
From: |
Chip Seraphine |
Subject: |
Re: SyslogFacility |
Date: |
Thu, 20 Nov 2003 18:17:48 -0600 |
User-agent: |
KMail/1.5 |
I submitted a patch for this a couple weeks ago; it should be in the
cfengine-bugs archive. If you can't find it let me know and I'll send it to
you off-list.
On Thursday 20 November 2003 16:44, Jason Allen wrote:
> Kurt,
>
> I'm running Linux - RH 7.3 and sysklogd-1.4.1-8.
>
> I have the following line in syslog.conf:
> local4.* /var/log/messages/cfengine.log
>
> I don't think syslog.conf is the problem. If you look at the syslog
> debug output below you can see the that the syslog facility for the
> cfengine log record is daemon and the level is error. This indicates to
> me that the problem is somewhere in cfengine, not syslog or syslog.conf.
>
> syslog debug output:
>
> Successful select, descriptor count = 1, Activity on: 3
> Message from UNIX socket: #3
> Message length: 161, File descriptor: 3.
> logmsg: daemon.err<27>, flags 2, from xxx, msg Nov 20 13:55:19
> ^^^^^^^^^^
> cfservd[29454]: ID from connecting host: (SYNCH 1069358119 STAT
> /var/cfengine/masterfiles/files/linux/special/syslog_conf)
> Called fprintlog, logging to FILE /var/log/messages
> Calling select, active file descriptors (max 3): 3
>
>
> Thanks,
> Jason Allen
> Fermilab
>
> On Thu, 2003-11-20 at 14:25, Kurt Lieber wrote:
> > On Thu, Nov 20, 2003 at 01:58:54PM -0600 or thereabouts, Jason Allen
wrote:
> > > I'm trying to get the syslogfacility feature to work on Linux with
> > > cfengine-2.1.0p1. I have SyslogFacility = ( LOG_LOCAL4 ) in my control
> > > section but cfengine errors continue to go to daemon.
> >
> > You don't mention what OS you're running this on...at least in linux, you
> > also have to set up /etc/syslog.conf correctly. I imagine solaris and
> > the other *nixes have something similar.
> >
> > --kurt
> >
> > ______________________________________________________________________
> > _______________________________________________
> > Help-cfengine mailing list
> > Help-cfengine@gnu.org
> > http://mail.gnu.org/mailman/listinfo/help-cfengine