I have a setup where a db server shares some directories through nfs with a cluster of websers.
One of this directories is the apache log one, so webservers all write to a unified db server access.log.
I'm trying to clear this file with cat /dev/null > access.log, but the command does nothing.
Do you know how can I clear it without removing it? Thanks in advance, Simon.