Re: log files getting huge.

From: Martin Brooks <martin@dont-contact.us>
Date: Mon, 14 Feb 2000 15:28:14 +0000

You could always just empty your logs of course...

under Linux type either '> /usr/local/squid/logs/access.log'

or if you want to preserve the logs contents try

 '/usr/local/bin/squid -k reconfigure'

I beleive this is in the FAQ>

DANY KHALIL wrote:
>
> How can I reduce the size of the log files(access.log, store.log)
>
> it seems like they filled my disk with a combined total of over 400 Megs.
> either I will have to relocate them to another partition, or find a way to
> start
> squid with minimum logging. currently it starts with the default RunCache
> script (i.e. squid -NsY)
>
> If I chose to relocate the "logs" directory, would you suggest creating
> a soft link to a partition with more space?
>
> thanx,
>
> -Danny-

-- 
Martin Brooks, Systems Administrator
martin@gointernet.co.uk
---------------------------
Go Internet Ltd
36 Gloucester Avenue
NW1 7BB London UK
Phone +44-(0)20-7419 0001
Fax +44-(0)20-7419 6519
Received on Mon Feb 14 2000 - 08:43:49 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:12 MST