Search squid archive

Re: Squid doesn't write logs via rsyslog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 08 June 2015 at 12:53:00 (EU time), Robert Lasota wrote:

> the problem is it still writes logs to files /var/log/access.log or
> /opt/var/log/access.log (depends what I set in conf) but never to rsyslog.
>
> I mean, I have set rsyslog to it send logs to remote central server, and
> from other apps like sshd or named its working and rsyslog send them , but
> Squid still not care that and writes locally to files.
>
> I set different combinations in squid.conf but nothing, even:
> access_log syslog squid
> cache_log syslog squid.
> ..also nothing

You appear to be missing the facility and priority settings (ie: telling 
syslogd how to handle the messages).

See http://www.squid-cache.org/Doc/config/access_log/

Try something such as:

access_log syslog:daemon.info


Regards,


Antony.

-- 
I don't know, maybe if we all waited then cosmic rays would write all our 
software for us. Of course it might take a while.

 - Ron Minnich, Los Alamos National Laboratory

                                                   Please reply to the list;
                                                         please *don't* CC me.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux