info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: syslog facility in cvs 1.12.9


From: Mark D. Baushke
Subject: Re: syslog facility in cvs 1.12.9
Date: Mon, 19 Jul 2004 23:19:13 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

John Carroll <address@hidden> writes:

> CVS Version: 1.12.9
> OS: Solaris 8
> When we get messages in the /var/adm/messages log, the facility used
> by syslog seems to be mail.info, which I find odd.  Is there a config
> file I missed that will allow me to set the syslog facility to
> something like local, or even define a new syslog facility, such as
> cvs?
> 
> The reason I ask is that my log checker program catchs these as
> flagable events, which I could ignore, but I don't want to ignore any
> other messages to mail.info.
> 
> The log entry below has been edited slightly to remove any identifying
> info, but the gist is there.
> 
> Jul 16 22:55:02 cvs_host cvs[12345]: [ID 123456 mail.info] connect
> from host.domain

At present, cvs is using syslog in src/server.c and depending on the
problem is using LOG_DAEMON or LOG_AUTHPRIV as the facility and one of
LOG_ALERT, LOG_ERR, or LOG_NOTICE as the level. If LOG_DAEMON is not
defined (for some ancient syslog.h implementations, then cvs will use 0
for the facility instead of LOG_DAEMON.

At no time has cvs 1.12.9 ever used LOG_MAIL as the facility, so if that
is what you are observing, your cvs must have been hacked to do it that
way. It is also possible that your /etc/syslog.conf file has been setup
to put LOG_DAEMON facility messages into your /var/adm/messages file.

Feel free to patch your cvs sources to do something else if you wish.

        -- Mark

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFA/Llh3x41pRYZE/gRAiskAKDR+IGGoFpGrU/W/0kk21th2Cd08ACZAQtL
Rrj3Sz1vcIUOLZLjXm3rD9A=
=x0FK
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]