Squid - [squid-users] About log files

This is Interesting: Free IT Magazines  
Home > Archive > Squid > April 2004 > [squid-users] About log files





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [squid-users] About log files
Luis Eduardo Cortes

2004-04-29, 6:55 pm

Hi all,

Only I have log files for three days, =BF why ?

I want to have logs for about 60 days ago.

-rw-r----- 1 proxy proxy 334737 Apr 29 10:04 access.log
-rw-r----- 1 proxy proxy 2429270 Apr 28 20:27 access.log.1
-rw-r----- 1 proxy proxy 225187 Apr 27 21:17 access.log.2.gz

Thanks.

Elsen Marc

2004-04-29, 6:55 pm


users] About log files
>=20
>=20
> Hi all,
>=20
> Only I have log files for three days, =BF why ?
>=20
> I want to have logs for about 60 days ago.
>=20
> -rw-r----- 1 proxy proxy 334737 Apr 29 10:04 access.log
> -rw-r----- 1 proxy proxy 2429270 Apr 28 20:27 access.log.1
> -rw-r----- 1 proxy proxy 225187 Apr 27 21:17 access.log.2.gz
>=20
> Thanks.
>=20
>=20


Squid doesn't rotate logs by default;=20
Check setting of :

logfile_rotate

in squid.conf.
=20
Squid only stops and start new log upon :

% squid -k rotate

Somewhere this must be 'present' on your system through
automatic means (cron e.g.) if you regularly get new logs.


M.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com