summaryrefslogtreecommitdiff
path: root/cherrypy/lib/static.py
diff options
context:
space:
mode:
Diffstat (limited to 'cherrypy/lib/static.py')
-rw-r--r--cherrypy/lib/static.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/cherrypy/lib/static.py b/cherrypy/lib/static.py
index fe61df15..83d9c272 100644
--- a/cherrypy/lib/static.py
+++ b/cherrypy/lib/static.py
@@ -38,8 +38,6 @@ def serve_file(path, content_type=None, disposition=None, name=None):
try:
stat = os.stat(path)
except OSError:
- if cherrypy.config.get('log_file_not_found', False):
- cherrypy.log(" NOT FOUND file: %s" % path, "DEBUG")
raise cherrypy.NotFound()
if os.path.isdir(path):