From owner-freebsd-questions Wed Jul 30 13:30:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA01359 for questions-outgoing; Wed, 30 Jul 1997 13:30:20 -0700 (PDT) Received: from horton.iaces.com (proot@horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA01351 for ; Wed, 30 Jul 1997 13:30:16 -0700 (PDT) Received: (from proot@localhost) by horton.iaces.com (8.8.5/8.8.5) id PAA29582 for questions@freebsd.org; Wed, 30 Jul 1997 15:30:08 -0500 (CDT) From: "Paul T. Root" Message-Id: <199707302030.PAA29582@horton.iaces.com> Subject: Syslog.conf question To: questions@freebsd.org Date: Wed, 30 Jul 1997 15:30:07 -0500 (CDT) X-Organization: !nterprise Networking Services - ACES X-Phone: (612) 663-1979 X-Fax: (612) 663-8030 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 200 S. 5th St., Suite 1100 X-Address: Minneapolis, MN 55402 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, I'm messing around with upsd (it's in xperiment on the CD), with my SmartUPS. And it's working fine. Other than the annoying: Jul 30 15:05:06 horton upsd[427]: apc_tune: negative response: NO message. Which is a back handed way of saying, communications is ok, isn't it? Anyway. I want all messages from it to go to /var/log/upsd.log instead of /var/log/messages. I started by changing it's facility from LOG_DAEMON to LOG_LOCAL3, but that didn't do it (the *.notice in syslogd.conf keeps sending it to messages). So next, after reading (ok maybe not closely enough) the syslog.conf man page, I put at the bottom of the file: !upsd *.* /var/log/upsd.log But messages still go to /var/log/messages. I kill -HUP'd and killed and restarted syslogd to no avail. What am I doing wrong? Thanks, Paul. -- I now leave, not knowing when or whether ever I may return, with a task before me greater than that which rested upon Washington. Without the assisteance of that Divine Being who ever attended him, I cannot succeed. With that assistance I cannot fail. -- Abraham Lincoln