On 22/12/20 2:29 am, sampei02 wrote:
I can confirm that squid will write to /var/log/messages if syslog logging is
enabled AND syslog is configured to write to /var/log/messages (this is the
default behaviour on some Linux distributions, such as Debian, but not Ubuntu).
My distro is Centos7 and rsyslog is enabled and It’s configured to write to /var/log/messages; it’s the default behaviour.
But how can I avoid Squid writes into this file? I chose the Squid default log files which are contained into /var/log/squid/ folder.
Removing that "s" command line parameter will indeed stop the rsyslog
output. You may still get some /var/log/messages entries from the init
scripts etc.
Amos
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users