From owner-freebsd-questions Tue Dec 7 8:26: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from icave3.icave.com.mx (icave3.icave.com.mx [148.233.5.130]) by hub.freebsd.org (Postfix) with ESMTP id 9824514C80 for ; Tue, 7 Dec 1999 08:25:55 -0800 (PST) (envelope-from rafareta@icave.com.mx) Received: from icave.com.mx (icave10.icave.com.mx [148.233.5.137]) by icave3.icave.com.mx (8.9.3/8.9.3) with ESMTP id KAA01589; Tue, 7 Dec 1999 10:23:52 -0600 (CST) (envelope-from rafareta@icave.com.mx) Message-ID: <384D341D.A357DF13@icave.com.mx> Date: Tue, 07 Dec 1999 10:21:49 -0600 From: "Rafael A. Reta Rodriguez" Organization: ICAVE X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Joseph Scott Cc: "questions@FreeBSD.ORG" Subject: Re: syslog References: <384C6706.BBF10B53@icave.com.mx> <384D32D8.33AC957E@owp.csus.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Joseph Scott wrote: > "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? > > > > Thanks in advance > > > > Does /var/log/squid exist? syslog will not create the file. So do > something like : > > # touch /var/log/squid > # kill -HUP > Yes, it exist, the problem was solved with Joseph Scott's solution (thanks Joseph), by adding the !squid tag at the end of /etc/syslog.conf but now I get the messages in both files! Is it posible to stop geting the squid log in /var/log/messages? Thanks RafaReta > > -- > > Joseph Scott > joseph.scott@owp.csus.edu > Office Of Water Programs - CSU Sacramento > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message