LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-09-2003, 12:31 PM   #1
AZIMBD03
Member
 
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80

Rep: Reputation: 15
Question 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
 
Old 10-10-2003, 06:51 AM   #2
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
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).
 
Old 10-10-2003, 07:55 AM   #3
AZIMBD03
Member
 
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80

Original Poster
Rep: Reputation: 15
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
 
Old 10-10-2003, 08:12 AM   #4
AZIMBD03
Member
 
Registered: Oct 2003
Location: Dhaka,Bangladeh
Distribution: Red Hat
Posts: 80

Original Poster
Rep: Reputation: 15
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
 
Old 10-10-2003, 08:27 AM   #5
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
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.
 
  


Reply


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
Using Audacity to clean up a wav file steve7575 Linux - Software 1 12-01-2005 11:40 AM
gzipped log backups: clean up phats_O Debian 4 05-14-2005 12:39 AM
How to clean up /var/log/messages ? JaBa Linux - General 10 10-30-2004 12:32 AM
Simple script to clean up old file rbeckett Red Hat 2 09-09-2004 02:38 PM
iptables, changing log file from /var/log/messages acid2000 Linux - Networking 3 03-11-2003 08:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 10:54 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