Search squid archive

Re: File rotation problem

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

 



On 13/11/2015 12:30 a.m., Verónica Ovando wrote:
> Thanks for your answer, Amos.
> 
> Yes, squid 3.5 is running over Debian8.
> 
> What do you refer with "All the squid3 things you are checking may not
> actually exists anymore"?

If you are running the official Debian 3.5 package, it went through a
transition to rename the binaries and all path directories and files
from their custom "squid3" names to the more normal "squid" name.


> Is it about the postrotate? What do you
> suggest me for keeping my logs not growing in that way:
> - use logrotate and put it in a cron daily.
> - use logfile_rotate, set it to five and cron squid3 -k rotate daily?

Whatever you have in the logrotate.d config script needs to match the
binary names and path directory names that actually exist on your machine.

If you copy-n-paste the postrotate script line into the terminal command
line, does it work?


The other thing is what Matus mentioned. logrotate.d was configured to
only run daily. If the log fills to more than 50MB in less than a day,
what do you think happens?

Amos

_______________________________________________
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