$ 0 0 You do it while nginx is running? if I stop the logging then I can delete it but while nginx in running, it has the file locked.