how long are the squid logs kept for?
how long are the squid logs kept for?
I have heard about some automated process that deletes them after a while but don't want this to happen yet. troglocate or something |
logrotate covers squid logs among many many others. check the configs in /etc/logrotate.conf and /etc/logrotate.d/* but generally they would typically rotate once a week, keeping 4 old logs at one time.
|
Quote:
Code:
Does the old one get deleted? |
Please see man logrotate ;)
|
rotate 4 means that it will, as the comment says, keep 4 old logs. the fact that it is done once a week is defined by the "weekly" directive, which will be somewhere else in the file.
|
All times are GMT -5. The time now is 12:26 PM. |