Cool, Thanks all, il try the logrotate program instead of using squids one Thanks guys :)
On Thu, 16 Jun 2022, 10:26 Matus UHLAR - fantomas, <uh...@fantomas.sk> wrote: > On 16.06.22 10:23, robert k Wild wrote: > >So I can use the package logrotate instead of the squid one > > squid packages in debian comes configured for rotating logs with logrotate. > - logfile_rotate is set to 0 > - logrotate config file tells when/how to rotate > > perhaps it's the same with centos. > > > >On Thu, 16 Jun 2022, 10:22 Matus UHLAR - fantomas, <uh...@fantomas.sk> > >wrote: > > > >> On 16.06.22 09:53, robert k Wild wrote: > >> >All I know is I need to keep a record of up to 3 months, worth of logs, > >> due > >> >to gdpr, how would you say I go about this > >> > >> keeping 3 months of log is very different from rotating each 3 months. > >> configure logrotate to rotate daily and keep 92 days worth of logs. > >> > >> I believe centos squid package comes with logrotate configured, should > be > >> in > >> /etc/logrotate.d/squid > > > -- > Matus UHLAR - fantomas, uh...@fantomas.sk ; 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. > My mind is like a steel trap - rusty and illegal in 37 states. > _______________________________________________ > squid-users mailing list > squid-users@lists.squid-cache.org > http://lists.squid-cache.org/listinfo/squid-users >
_______________________________________________ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users