From owner-freebsd-questions Mon Jan 14 14:42:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 86F4837B435 for ; Mon, 14 Jan 2002 14:41:48 -0800 (PST) Received: from hades.hell.gr (patr530-a233.otenet.gr [212.205.215.233]) by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id g0EMfeY08375; Tue, 15 Jan 2002 00:41:40 +0200 (EET) Received: (from charon@localhost) by hades.hell.gr (8.11.6/8.11.6) id g0EKki831612; Mon, 14 Jan 2002 22:46:44 +0200 (EET) (envelope-from keramida@freebsd.org) Date: Mon, 14 Jan 2002 22:46:43 +0200 From: Giorgos Keramidas To: Len Conrad Cc: Freebsd-questions@freebsd.org Subject: Re: external app logging to syslog Message-ID: <20020114204643.GB31045@hades.hell.gr> References: <5.1.0.14.2.20020113192119.0204f590@mail.Go2France.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="v9Ux+11Zm5mwPlX6" Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20020113192119.0204f590@mail.Go2France.com> User-Agent: Mutt/1.3.25i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --v9Ux+11Zm5mwPlX6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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= =20 > seen in the syslog lines as "POP3D". It is being written to messages fil= e=20 > with this as-installed syslog.conf line: >=20 > *.notice;kern.debug;lpr.info;mail.crit;news.err; /var/log/messages >=20 > How do we stop it from being logged there? under which facility.level is = it=20 > 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 hades syslogd: kernel boot file is /boot/ke= rnel/kernel --=20 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/ --v9Ux+11Zm5mwPlX6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE8Q0Oz1g+UGjGGA7YRApGxAKDDkv7DXUfKygaXxZkAkQrT9H8T2QCglovL GL/7mtV7AlBz1z9+srs+0AA= =XkZ9 -----END PGP SIGNATURE----- --v9Ux+11Zm5mwPlX6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message