Date: Mon, 14 Jan 2002 22:46:43 +0200 From: Giorgos Keramidas <keramida@freebsd.org> To: Len Conrad <LConrad@Go2France.com> Cc: Freebsd-questions@freebsd.org Subject: Re: external app logging to syslog Message-ID: <20020114204643.GB31045@hades.hell.gr> In-Reply-To: <5.1.0.14.2.20020113192119.0204f590@mail.Go2France.com> References: <5.1.0.14.2.20020113192119.0204f590@mail.Go2France.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On 2002-01-13 19:27:22, Len Conrad wrote:
> We have Imail's POP service logging to a FreeBSD4.4 machine. The app is
> seen in the syslog lines as "POP3D". It is being written to messages file
> with this as-installed syslog.conf line:
>
> *.notice;kern.debug;lpr.info;mail.crit;news.err; /var/log/messages
>
> How do we stop it from being logged there? under which facility.level is it
> being caught?
You can use the -v option to syslogd temporarily, to have syslog print
the numeric or name of each facility/priority in the log files. This
will let you find out which pair of facility.priority is the one that
catches Imail's POP service.
For example, I killed syslogd while writing this message, and
restarted it with:
# /usr/sbin/syslogd -ssvv
only to see a few seconds later in my logfile:
Jan 14 22:45:04 <kern.info> hades syslogd: kernel boot file is /boot/kernel/kernel
--
Giorgos Keramidas . . . . . . . . . keramida@{ceid.upatras.gr,freebsd.org}
FreeBSD Documentation Project . . . http://www.freebsd.org/docproj/
FreeBSD: The power to serve . . . . http://www.freebsd.org/
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
iD8DBQE8Q0Oz1g+UGjGGA7YRApGxAKDDkv7DXUfKygaXxZkAkQrT9H8T2QCglovL
GL/7mtV7AlBz1z9+srs+0AA=
=XkZ9
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020114204643.GB31045>
