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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-06-2002, 02: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, 05: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, 06:37 AM
|
#3
|
Member
Registered: Nov 2006
Posts: 260
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?
|
|
|
All times are GMT -5. The time now is 08:04 AM.
|
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
|
|