Re: [squid-users] squid writes to /var/log/messages

2020-12-24 Thread Antony Stone
On Thursday 24 December 2020 at 18:44:21, Song & Movie wrote: > Can any one help me to create http proxy ? 1. Please do not hijack an unrelated thread on the list. Please start a new thread by posting to squid-users@lists.squid-cache.org with an appropriate subject. 2. Please give us at least

Re: [squid-users] squid writes to /var/log/messages

2020-12-24 Thread Song & Movie
Can any one help me to create http proxy ? On Mon, Dec 21, 2020 at 4:31 AM Ambrose Li wrote: > On Mon, Dec 21, 2020 at 11:01:07PM +1300, Amos Jeffries wrote: > > On 21/12/20 9:55 pm, sampe...@tiscali.it wrote: > > > Ok, I noted these 2 squid processes: > > > > > > root/usr/sbin/s

Re: [squid-users] squid writes to /var/log/messages

2020-12-22 Thread sampe...@tiscali.it
I solved disabling ‘-s' option in squid startup script. Thanks > On 21 Dec 2020, at 15:36, Alex Rousskov > wrote: > > On 12/21/20 8:29 AM, sampe...@tiscali.it wrote: > >> My distro is Centos7 and rsyslog is enabled and It’s configured to >> write to /var/log/mes

Re: [squid-users] squid writes to /var/log/messages

2020-12-21 Thread Alex Rousskov
On 12/21/20 8:29 AM, sampe...@tiscali.it wrote: > 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

Re: [squid-users] squid writes to /var/log/messages

2020-12-21 Thread Matus UHLAR - fantomas
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). On 21.12.20 14:29, sampe...@tiscali.it wrote: My distro is Ce

Re: [squid-users] squid writes to /var/log/messages

2020-12-21 Thread Amos Jeffries
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 a

Re: [squid-users] squid writes to /var/log/messages

2020-12-21 Thread sampe...@tiscali.it
> 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

Re: [squid-users] squid writes to /var/log/messages

2020-12-21 Thread Ambrose Li
On Mon, Dec 21, 2020 at 11:01:07PM +1300, Amos Jeffries wrote: > On 21/12/20 9:55 pm, sampe...@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” > >

Re: [squid-users] squid writes to /var/log/messages

2020-12-21 Thread Amos Jeffries
On 21/12/20 9:55 pm, sampe...@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/message

Re: [squid-users] squid writes to /var/log/messages

2020-12-21 Thread sampe...@tiscali.it
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 ? > On 21 Dec 2020, at 09:14, NgTech LTD wrote: > > Hey Sampei, > > It's recommended you w

[squid-users] squid writes to /var/log/messages

2020-12-20 Thread sampe...@tiscali.it
With Squid 4.8 and rsyslogd 8.24, I noted some Squid logs in /var/log/messages, .e.g " ipcacheParse No Address records…” or “ Starting new redirector helpers…”. I configured log Squid to default options, excluded for "access_log /var/log/squid/access.log” instead of "access_log /var/log/squid/acc