Red Hat This forum is for the discussion of Red Hat Linux. |
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.
|
 |
10-09-2003, 12:31 PM
|
#1
|
Member
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80
Rep:
|
How i can Clean up the log file of proxy?
Hi there
I am using squid of my proxy server on linux red hate8.
I have installed it one year before.....should i clean up
the log file of proxy?if..then how I can do it....?
Thanks
AZIMBD03
|
|
|
10-10-2003, 06:51 AM
|
#2
|
Senior Member
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084
Rep:
|
Squid, as shipped with Red Hat Linux 8.0, is pre-configured to rotate its logs on a weekly basis using a logrotate cron job (/etc/logrotate.d/squid).
|
|
|
10-10-2003, 07:55 AM
|
#3
|
Member
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80
Original Poster
Rep:
|
Hi
Thanks to have ur reply...that mean i need not to clean up proxy log?its cleaned up by wonself weekly basis...m i right?How I can see the log files of squid? and If I wanna clean up the log file per day basis...so what will be my job?????I am looking for you futher help
Thnaks
AZIM
|
|
|
10-10-2003, 08:12 AM
|
#4
|
Member
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80
Original Poster
Rep:
|
hi
May be I have got how i can see the log files of squid
its vi /var/log/squid/store.log....right?
how i can delete any specific file from it???
Thanks
AZIM
|
|
|
10-10-2003, 08:27 AM
|
#5
|
Senior Member
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084
Rep:
|
Hmm, I pointed you to /etc/logrotate.d/squid. The documentation for logrotate is in "man logrotate". If you want to edit any Squid files manually, you're free to use your favourite text editor for that.
|
|
|
All times are GMT -5. The time now is 10:54 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
|
|