Re: squid log cleaning not fully executed

2007-10-21 Thread Aruna Goke
Dr.Ruud wrote: Aruna Goke schreef: actually the script is placed in the /var/log/squid directory and the unlink is actually deleting the old logs. however, the output of the system('squid' '-k', 'rotate') is access.log.0, store.log.0 and these were not included when the unlink is executed. th

Re: squid log cleaning not fully executed

2007-10-21 Thread Dr.Ruud
Aruna Goke schreef: > actually the script is placed in the /var/log/squid directory and the > unlink is actually deleting the old logs. > > however, the output of the system('squid' '-k', 'rotate') is > access.log.0, store.log.0 and these were not included when the unlink > is executed. therefore

Re: squid log cleaning not fully executed

2007-10-21 Thread Aruna Goke
John W. Krahn wrote: Aruna Goke wrote: I put up a small script to delete old logs and at the same time rotating the logs. on my squid log directory ( I can use logrorate and unlink the logs, but I choose to test my ability to do that) however, with my code below, I can see delete the old logs,

Re: squid log cleaning not fully executed

2007-10-20 Thread John W. Krahn
Aruna Goke wrote: > > I put up a small script to delete old logs and at the same time rotating > the logs. on my squid log directory ( I can use logrorate and unlink the > logs, but I choose to test my ability to do that) > > however, with my code below, I can see delete the old logs, however, th

squid log cleaning not fully executed

2007-10-20 Thread Aruna Goke
I put up a small script to delete old logs and at the same time rotating the logs. on my squid log directory ( I can use logrorate and unlink the logs, but I choose to test my ability to do that) however, with my code below, I can see delete the old logs, however, the output of the log the s