Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Dec 1999 11:51:12 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        "Rafael A. Reta Rodriguez" <rafareta@icave.com.mx>
Cc:        "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>
Subject:   Re: syslog 
Message-ID:  <70238.944560272@axl.noc.iafrica.com>
In-Reply-To: Your message of "Mon, 06 Dec 1999 19:46:46 CST." <384C6706.BBF10B53@icave.com.mx> 

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70238.944560272>