sed problem
i run a script in crontab which remove some lines from apache log by sed every hour, after each script running, apache cannot log anymore and i should restart it!!
what is the problem !? |
Quote:
|
i don't want to apache log visitors of specified folder, but i canot find solution so decide to
remove the lines of log which has that folder name in!! |
Just a guess. Apache keeps that file open and when you remove stuff, the file pointer that it uses is no longer correct.
Might be totally wrong however. Same thing happens when you don't stop apache during a logrotate (from experience ;) ) |
so, what is the solution, how can i get rid of logging about the folder !?
is there a way to filter urls from apache logging or maybe awstats processing? |
All times are GMT -5. The time now is 05:44 AM. |