If the files aren't rotated at all then the problem is in your
logrotate configuration.
It the files are rotated, but Squid continues to write to the old log
(now access.log.0) then you haven't confiugred logrotate to signal
Squid that the logs have been rotated ("squid -k rotate" after
rotation)
Regards
Henrik
On Thursday 13 June 2002 10:19, Arindam Haldar wrote:
> hi all
> i have a Quesstion/problem
>
> 1) i used /var/spool/squid as datadir & /var/log/squid as state
> dir... i also use logrotate on my RH7.2. but i see that the access
> & cache log files are not logrotated. i used exatly the same file
> as used in squid distributiuon of redhat ie copied & changed the
> dir only in squid file in /etc/logrotate.d/ but things r not
> working !.. i used thecommand logrotate -f /etc/logrotate.conf but
> still it didnt work for squid access & cache file.. these 2 files r
> now getting bigger & bigger !
>
> can someone tell me a way out of it ?
>
> regards
> A.H
Received on Thu Jun 13 2002 - 03:16:02 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:40 MST