[squid-users] squid writes to /var/log/messages
Amos Jeffries
squid3 at treenet.co.nz
Mon Dec 21 10:01:07 UTC 2020
On 21/12/20 9:55 pm, sampei02 at tiscali.it wrote:
> Ok, I noted these 2 squid processes:
>
> root /usr/sbin/squid -sYC
> squid (squid-1) --kid squid-1 -sYC
>
> -s means "Enable logging to syslog”
>
> This option ‘-s’ could explain writing to messages ?
Squid does not write to /var/log/messages. On startup before Squid reads
any configuration about whether cache.log or syslog is to be used it
logs to stderr.
That stderr channel is handled by whatever init system or shell is
starting Squid. /var/log/messages is the init system log file.
Amos
More information about the squid-users
mailing list