Squid log rotation. Basic infos
-
Hi everybody.
I'm not really sure anymore of what log rotation is. Could anyone please explain it to me?
What does exactly the option "Log rotate" in the proxy server general setting do?
If I set it to 24hr, does it create a new log every day and keeps the old one, or just deletes the old one and creates a new one?
Thank you -
The setting you are referring to is "log rotate" which needs to be configured to the number of days you wish to keep the log files around for before the oldest log file is deleted. So you need to enter a number like 10, meaning 10 days worth of logs will be kept. The logs will then be rotated daily at midnight.
-
Hi there.
Thank you for answering me.
I assume then that the option to rotate the logs with lightsquid is completely redundant, isn't it? -
Hi there.
Thank you for answering me.
I assume then that the option to rotate the logs with lightsquid is completely redundant, isn't it?Yes. This is duplicated options. Probably in LS this option mus be deleted.
-
Thanks for your help guys