From owner-freebsd-questions Tue Dec 7 1:51:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (Postfix) with ESMTP id 81AC614E0A for ; Tue, 7 Dec 1999 01:51:50 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 3.11 #1) id 11vHH6-000IGt-00; Tue, 07 Dec 1999 11:51:12 +0200 From: Sheldon Hearn To: "Rafael A. Reta Rodriguez" Cc: "questions@FreeBSD.ORG" Subject: Re: syslog In-reply-to: Your message of "Mon, 06 Dec 1999 19:46:46 CST." <384C6706.BBF10B53@icave.com.mx> Date: Tue, 07 Dec 1999 11:51:12 +0200 Message-ID: <70238.944560272@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 06 Dec 1999 19:46:46 CST, "Rafael A. Reta Rodriguez" wrote: > I'm want to send the squid log to /var/log/squid instead of > /var/log/messages so I added to /etc/syslog.conf the following line: > > squid.* /var/log/squid > > and killed -1 the process (even rebooted) but nothing happened > > Where am I wrong? Apart from not reading the syslog.conf(5) manual page? :-) For a start, there's no such facility as ``squid''. If you want all the messages from squid to go into /var/log/quid, you want something more like: !squid *.* /var/log/squid Also, the /var/log/squid file _must_ exist _before_ you HUP the syslogd process (or reboot). It can be empty, but it must exist. All this is explained in the syslog.conf(5) manual page, by the way. :-) Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message