Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-06-2002, 02:33 AM   #1
Registered: May 2002
Location: Shanghai, PRC
Distribution: RedHat 6.2 | 7.2 | 8 | 9|3
Posts: 81

Rep: Reputation: 15
Question New SQUID user: How to clear the "access.log" and "store.log" automatically?

Hi all,

I'm new to SQUID program. Actually, I have two questions.

1. How to set the limitation size for these two files?

2. I think my current limitation size for these two files is 2GB. Because you know, when one of them reach 2GB, my SQUID stops. So I have to "mv access.log(store.log) access1.log(store1.log)". Then I can start SQUID process. I wonder if SQUID can do this kind of opration itself?

Any suggestion will be appreciated.

Old 07-10-2002, 05:10 AM   #2
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182

Rep: Reputation: 30
You can use logrotate to do stuff like this.

Logrotate is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation, compression, removal, and mailing of log files. Each log file may be handled daily, weekly, monthly, or when it grows too large.
Old 12-02-2006, 06:37 AM   #3
Registered: Nov 2006
Posts: 260

Rep: Reputation: 31
How to clear the "access.log" and "store.log" automatically? Reply to Thread

u have suffested to use logrotate

but i dont understand what is logrotate?

can u plzzzzzzzzzzzzzzzzz explain this logrotate?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to log user commands in xterm without using "script" command lilachb Linux - General 2 08-28-2005 02:08 AM
user cannot log in "Authentication Failed" Fedora Core 4 clayharryman Linux - Security 8 08-04-2005 07:23 PM
can't log into squirrelmail. error code "You must be logged in to access this page." rioguia Linux - Software 3 11-02-2004 11:47 AM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-30-2004 12:18 AM
where is "user apache" shell log? mikejrm Linux - Security 2 09-05-2003 04:29 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:39 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration