in reply to Emptying log file

I think we need to know some more details to help, like in which OS are you working and how the program that writes in the log file (for example, in append more, or if lock the files to keep writing at it).

There are a lot of possibilities if you don't tell us the limitations of your system.

Alceu Rodrigues de Freitas Junior
---------------------------------
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill