Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Dec 1999 10:21:49 -0600
From:      "Rafael A. Reta Rodriguez" <rafareta@icave.com.mx>
To:        Joseph Scott <joseph.scott@owp.csus.edu>
Cc:        "questions@FreeBSD.ORG" <questions@FreeBSD.ORG>
Subject:   Re: syslog
Message-ID:  <384D341D.A357DF13@icave.com.mx>
References:  <384C6706.BBF10B53@icave.com.mx> <384D32D8.33AC957E@owp.csus.edu>

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


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 <pid_of_syslog>
>

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




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