From owner-freebsd-questions Fri Jan 31 10:28:45 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C04D37B401 for ; Fri, 31 Jan 2003 10:28:43 -0800 (PST) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8CDE43F75 for ; Fri, 31 Jan 2003 10:28:42 -0800 (PST) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from nkinkade by sub21-156.member.dsl-only.net with local (Exim 4.10) id 18efu1-000LKg-00 for freebsd-questions@FreeBSD.ORG; Fri, 31 Jan 2003 10:28:37 -0800 Date: Fri, 31 Jan 2003 10:28:37 -0800 From: Nathan Kinkade To: questions list Subject: Re: Syslog Configuration Question Message-ID: <20030131182837.GF79960@sub21-156.member.dsl-only.net> Reply-To: nkinkade@dsl-only.net Mail-Followup-To: questions list References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dWYAkE0V1FpFQHQ3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i 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 --dWYAkE0V1FpFQHQ3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 31, 2003 at 10:15:25AM -0800, Michael K. Smith wrote: > Hello All: >=20 > I am trying to set up a few facilities to receive syslog info from =20 > various network devices. In all cases, not only do the arriving =20 > packets get logged to the logfile configured, but they also get logged = =20 > to /var/log/messages. I would like messages to be used only for =20 > system-related issues. I have included the relevant snippets from my =20 > syslog.conf file. Could someone please help me figure out what I'm =20 > doing wrong? >=20 > Thanks, >=20 > Mike >=20 > *.err;kern.debug;auth.notice;mail.crit /dev/console > *.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages > security.* /var/log/security > auth.info;authpriv.info /var/log/auth.log > mail.info /var/log/maillog > lpr.info /var/log/lpd-errs > cron.* /var/log/cron > local5.* /var/log/switches.log > local6.* /var/log/pix.log > local7.* /var/log/routers.log >=20 > ------------------------------------------------------------------------= =20 > -- > Michael K. Smith NoaNet > 206.219.7116 (work) 206.579.8360 (cell) > mksmith@noanet.net http://www.noanet.net Two things. 1) Did you remember to restart the syslogd when you changed syslog.conf? Try a `killall -HUP syslogd`. 2) What level are the local(n) facilities logging at? Right now your setup will log anything with a NOTICE level to messages. Nathan --=20 GPG Public Key ID: 0x4250A04C gpg --keyserver pgp.mit.edu --recv-keys 4250A04C http://63.105.21.156/gpg_nkinkade_4250A04C.asc --dWYAkE0V1FpFQHQ3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+OsBVWZYS9EJQoEwRAliYAJ9CasEYJ897RAoV6KzYJdjySHqr0wCfdwjM sLGO3ZZg3XJJU8EV7MKPtKM= =NV+T -----END PGP SIGNATURE----- --dWYAkE0V1FpFQHQ3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message