From owner-freebsd-questions Mon Oct 2 20:49:22 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id UAA05170 for questions-outgoing; Mon, 2 Oct 1995 20:49:22 -0700 Received: from po4.andrew.cmu.edu (PO4.ANDREW.CMU.EDU [128.2.10.104]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id UAA05156 for ; Mon, 2 Oct 1995 20:49:18 -0700 Received: (from postman@localhost) by po4.andrew.cmu.edu (8.6.12/8.6.12) id XAA15386 for freebsd-questions@freefall.FreeBSD.org; Mon, 2 Oct 1995 23:49:15 -0400 Received: via switchmail; Mon, 2 Oct 1995 23:49:14 -0400 (EDT) Received: from unix20.andrew.cmu.edu via qmail ID ; Mon, 2 Oct 1995 23:47:38 -0400 (EDT) Received: from unix20.andrew.cmu.edu via qmail ID ; Mon, 2 Oct 1995 23:47:36 -0400 (EDT) Received: from Messages.8.5.N.CUILIB.3.45.SNAP.NOT.LINKED.unix20.andrew.cmu.edu.sun4c.411 via MS.5.6.unix20.andrew.cmu.edu.sun4c_411; Mon, 2 Oct 1995 23:47:35 -0400 (EDT) Message-ID: Date: Mon, 2 Oct 1995 23:47:35 -0400 (EDT) From: Robert N Watson To: freebsd-questions@freefall.FreeBSD.org Subject: syslogd/syslog.conf -- local0.notice routing Sender: owner-questions@FreeBSD.org Precedence: bulk I'd like to route my popper logging somewhere other than /var/log/messages, and don't have much experience with pursuading syslogd not to log things ;). I'd like all of my normal .notice messages to go where they normally go (messages, etc), but I'd like local0.notice (the popper messages) to go only to /var/log/popper, and no where else. From the syslog.conf man page, I could glean something about a !prog *.* /var/.. wherein a specific program is referenced -- is this program the program that sends the message to syslog, or is it just a marker that could really be anything? I'd guess from the man page that !popper *.* /var/log/popper would route popper messages only to there, but it's hard to tell without a nice big example file. Help soon would be appreciated, as while my /var is a large partition, it makes log interpretation a pain, even with grep-v ;) Thanks... ---- Robert Watson (rnw+@andrew.cmu.edu) * Double major: IDS/CS * H&SS http://www.watson.org/ robert@fledge.watson.org