<div dir="auto">Cool, Thanks all, il try the logrotate program instead of using squids one<div dir="auto"><br></div><div dir="auto">Thanks guys :)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 16 Jun 2022, 10:26 Matus UHLAR - fantomas, <<a href="mailto:uhlar@fantomas.sk">uhlar@fantomas.sk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 16.06.22 10:23, robert k Wild wrote:<br>
>So I can use the package logrotate instead of the squid one<br>
<br>
squid packages in debian comes configured for rotating logs with logrotate.<br>
- logfile_rotate is set to 0<br>
- logrotate config file tells when/how to rotate<br>
<br>
perhaps it's the same with centos.<br>
<br>
<br>
>On Thu, 16 Jun 2022, 10:22 Matus UHLAR - fantomas, <<a href="mailto:uhlar@fantomas.sk" target="_blank" rel="noreferrer">uhlar@fantomas.sk</a>><br>
>wrote:<br>
><br>
>> On 16.06.22 09:53, robert k Wild wrote:<br>
>> >All I know is I need to keep a record of up to 3 months, worth of logs,<br>
>> due<br>
>> >to gdpr, how would you say I go about this<br>
>><br>
>> keeping 3 months of log is very different from rotating each 3 months.<br>
>> configure logrotate to rotate daily and keep 92 days worth of logs.<br>
>><br>
>> I believe centos squid package comes with logrotate configured, should be<br>
>> in<br>
>> /etc/logrotate.d/squid<br>
<br>
<br>
-- <br>
Matus UHLAR - fantomas, <a href="mailto:uhlar@fantomas.sk" target="_blank" rel="noreferrer">uhlar@fantomas.sk</a> ; <a href="http://www.fantomas.sk/" rel="noreferrer noreferrer" target="_blank">http://www.fantomas.sk/</a><br>
Warning: I wish NOT to receive e-mail advertising to this address.<br>
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.<br>
My mind is like a steel trap - rusty and illegal in 37 states.<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank" rel="noreferrer">squid-users@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer noreferrer" target="_blank">http://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>