Search squid archive

Re: How do I rotate access.log?

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

 



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=N		Specifies the number of log file rotations to
				make when you run 'squid -k rotate'. [...]
				Only supported by the stdio module

You are not using an "stdio" module. You are using a "daemon" module.

simply said, it could not work in your case,
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.

isn't this the default in raspbian? Afaik it comes from debian, where this
is the default.


--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Support bacteria - they're the only culture some people have.
_______________________________________________
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