Patch: Prevent crit error being loggged on delete of non-existent file

Maxim Dounin mdounin at mdounin.ru
Tue Nov 19 16:52:33 UTC 2013


Hello!

On Tue, Nov 19, 2013 at 04:43:54PM -0000, Steven Hartland wrote:

> Hi guys the attached patch prevents http file cache from
> logging a critical error when a file delete fails due to
> it not existing, which I'm sure was never the intention.

Why you think it's not an intention?  If a file doesn't exists 
but nginx tries to delete it - it means that nginx has wong notion 
of what is on disk.  It's certainly a problem which deserves 
logging.

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx-devel mailing list