Deleting a Log File
You wouldn't think that deleting a log file would take so much thought, but it has. After doing some testing that resulting in a 2GB + error file for NWC Inc.'s web site I decided to delete it. DENIED. Because...
August 5, 2004
You wouldn't think that deleting a log file would take so much thought, but it has. After doing some testing that resulting in a 2GB + error file for NWC Inc.'s web site I decided to delete it.
DENIED. Because Apache was running, I couldn't.
Well, I didn't want to stop the processes just so I could delete the file - all those widget orders we'd lose would be a problem for the business folks, right?
But what else can you do?
;-) Share the logs directory, mount it under Linux and delete the file.
Where there's a will, there's a way. Share your solution to the problem - the only requirement is that you can't stop Apache from running.
Read more about:
2004You May Also Like