Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-06-2002, 01:33 AM
|
#1
|
|
Member
Registered: May 2002
Location: Shanghai, PRC
Distribution: RedHat 6.2 | 7.2 | 8 | 9|3
Posts: 81
Rep:
|
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
|
|
|
|
07-10-2002, 04:10 AM
|
#2
|
|
Member
Registered: Sep 2001
Location: The Netherlands
Distribution: Gentoo, Debian, Mandrake, LFS
Posts: 182
Rep:
|
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.
|
|
|
|
|
12-02-2006, 05:37 AM
|
#3
|
|
Member
Registered: Nov 2006
Posts: 245
Rep:
|
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 |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:09 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|