LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-06-2002, 01:33 AM   #1
yuzuohong
Member
 
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.

fish
 
Old 07-10-2002, 04:10 AM   #2
Griffon26
Member
 
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.

Quote:
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, 05:37 AM   #3
soumalya
Member
 
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?
 
  


Reply



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 01:08 AM
user cannot log in "Authentication Failed" Fedora Core 4 clayharryman Linux - Security 8 08-04-2005 06: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 10:47 AM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM
where is "user apache" shell log? mikejrm Linux - Security 2 09-05-2003 03:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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