You can execute that anywhere if squid is in $PATH.
To solve your "log file is too big" problem, you could rotate
the logs every hour with cron and destroy the *.0 files
belonging to squid. But that's bandaid, not a real solution.
On Sat, Oct 18, 2008 at 7:24 AM, <jmaan_at_nits.ac.in> wrote:
> *************************************************
> This message has been scanned by IMSS NIT-Silchar
>
>
>
> May I know under which directory should I execute te command as given by you.
>
> Actually, rotation is being done for the log files but still, the
> access.log file generated at times are too big on daily basis.
>
>
>
>
>
> squid -k rotate
> will rotate all .log files for you, you can delete the *.0 files afterwards.
>
> Never delete files without knowing what you are doing ; deleting files
> from under squid's nose will lead to unpredictable behaviour :)
>
> You really should read the manuals, and especially the parts related to
> logs files and cache_dir entries, to understand what you are doing.
>
> Francois
>
>
> Thanks,
>
> jmaan
>
>
>
Received on Fri Oct 17 2008 - 20:00:37 MDT
This archive was generated by hypermail 2.2.0 : Sat Oct 18 2008 - 12:00:03 MDT