LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to clear squid access.log using script (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-clear-squid-access-log-using-script-4175425696/)

baskarang 09-05-2012 12:06 AM

how to clear squid access.log using script
 
hi guys

i am beginner in linux. After i did the squid tranparent configuration and deployed in my organization. now i want know how to clear the squid access.log and caches log using script. so kindly help me

regards
G Baskaran

acid_kewpie 09-05-2012 01:58 AM

why would you want to clear them?? Generally you'd be rotating this file using logrotate, so you'd not use a script to do it at all.

this should be useful - http://www.faqs.org/docs/securing/chap28sec234.html

baskarang 09-06-2012 02:52 AM

Hi acid kewpie

Thanks for your reply. i will check that url let you know whether i get a right solution.


Regards
Baskaran G


All times are GMT -5. The time now is 09:34 AM.