Re: [squid-users] How do I rotate access.log?

2021-01-12 Thread Matus UHLAR - fantomas
On 12.01.21 15:09, roee klinger wrote: Thanks, everyone for making it clear, I will investigate how to do it using logrotated. do you have squid installed from raspbian? squid 4.6 is in debian 10 thus should be in raspbian too. it comes with /etc/logrotate.d/squid and if you have logrotate pac

Re: [squid-users] How do I rotate access.log?

2021-01-12 Thread roee klinger
Thanks, everyone for making it clear, I will investigate how to do it using logrotated. Roee. On Tue, Jan 12, 2021 at 3:26 AM Amos Jeffries wrote: > On 11/01/21 8:53 am, Matus UHLAR - fantomas wrote: > > On 10.01.21 17:24, roee klinger wrote: > >> I just wanted to give an update in case anyone

Re: [squid-users] How do I rotate access.log?

2021-01-11 Thread Amos Jeffries
On 11/01/21 8:53 am, Matus UHLAR - fantomas wrote: On 10.01.21 17:24, roee klinger wrote: I just wanted to give an update in case anyone is interested, I was not able to find a solution, it was posted here: http://lists.squid-cache.org/pipermail/squid-users/2020-December/023074.html r

Re: [squid-users] How do I rotate access.log?

2021-01-10 Thread Matus UHLAR - fantomas
On 10.01.21 17:24, roee klinger wrote: I just wanted to give an update in case anyone is interested, I was not able to find a solution, it was posted here: http://lists.squid-cache.org/pipermail/squid-users/2020-December/023074.html rotate=NSpecifies the number of log

Re: [squid-users] How do I rotate access.log?

2021-01-10 Thread Eliezer Croitoru
-users@lists.squid-cache.org Subject: Re: [squid-users] How do I rotate access.log? Hey, I just wanted to give an update in case anyone is interested, I was not able to find a solution, Instead, I set "logfile_rotate 0" and wrote my own custom script to rotate the logs and I am runn

Re: [squid-users] How do I rotate access.log?

2021-01-10 Thread roee klinger
Hey, I just wanted to give an update in case anyone is interested, I was not able to find a solution, Instead, I set "logfile_rotate 0" and wrote my own custom script to rotate the logs and I am running it as a cron, works just fine. Thanks for trying to help. On Fri, Jan 1, 2021 at 1:38 AM Al

Re: [squid-users] How do I rotate access.log?

2020-12-31 Thread Alex Rousskov
On 12/31/20 1:39 PM, roee klinger wrote: > 2020/12/31 20:33:49 kid1| Logfile: opening log > daemon:/var/log/squid/access.log > 2020/12/31 20:33:49 kid1| Logfile Daemon: opening log > /var/log/squid/access.log > 2020/12/31 20:33:49 kid1| Store logging disabled > 2020/12/31 20:33:5

Re: [squid-users] How do I rotate access.log?

2020-12-31 Thread roee klinger
Hey Alex, thanks for the reply. This is my Squid --version: Squid Cache: Version 4.6 Service Name: squid Debian linux configure options: '--build=i686-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '

Re: [squid-users] How do I rotate access.log?

2020-12-29 Thread Alex Rousskov
On 12/29/20 12:33 PM, roee klinger wrote: > I am using a Raspberry Pi and the latest versionĀ of Squid which I > installed from apt. > > In my cache.log, here are all my logging and rotation-related messages: > > 2020/12/29 17:37:14 kid1| logfileRotate: daemon:/var/log/squid/access.log > 2020/12/

Re: [squid-users] How do I rotate access.log?

2020-12-29 Thread roee klinger
Thanks for your reply, I am using a Raspberry Pi and the latest version of Squid which I installed from apt. In my cache.log, here are all my logging and rotation-related messages: 2020/12/29 17:37:14 kid1| logfileRotate: daemon:/var/log/squid/access.log 2020/12/29 17:37:14 kid1| logfileRotate:

Re: [squid-users] How do I rotate access.log?

2020-12-29 Thread Alex Rousskov
On 12/29/20 10:36 AM, roee klinger wrote: > logfile_rotate 10 > access_log daemon:/var/log/squid/access.log logformat= rotate=10 > running "squid -k rotate" still does nothing for the access.log file. Please note that, according to Squid documentation, your Squid is slightly misconfi

Re: [squid-users] How do I rotate access.log?

2020-12-29 Thread NgTech LTD
Hey Roee, On what version of OS can it be tested, also is the package from the distribution or self compiler? Eliezer On Tue, Dec 29, 2020 at 5:36 PM roee klinger wrote: > > Hey, > > I know there is plenty of information on this online but for some reason, > this feature is simply not working

[squid-users] How do I rotate access.log?

2020-12-29 Thread roee klinger
Hey, I know there is plenty of information on this online but for some reason, this feature is simply not working for me. I have set logfile_rotate to 10 like so: logfile_rotate 10 However, when I run "squid -k rotate" only the cache.log file rotates. I am using a custom log format and have als