From: Calin Crisan Date: Sun, 6 Oct 2013 15:49:07 +0000 (+0300) Subject: request logging is now set to debug X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=800f6d771fa553748d219499eae89c0ce6438078;p=motioneye-debian request logging is now set to debug --- diff --git a/doc/todo.txt b/doc/todo.txt index baee288..937f34b 100644 --- a/doc/todo.txt +++ b/doc/todo.txt @@ -6,7 +6,6 @@ -> prevent Request closed errors by stopping mjpg clients before stopping motion -> make all the server http requests async --> remove current snapshot GET logs -> style scroll bars -> hint text next to section titles @@ -19,6 +18,7 @@ -> add a previewer for snapshots -> add a motioneye.svg icon +-> implement file preserving -> add other options applicable only to special devices (rpi): wifi settings, notifications -> group @config rules to top diff --git a/src/server.py b/src/server.py index 908cc86..5cddb1c 100644 --- a/src/server.py +++ b/src/server.py @@ -2,6 +2,7 @@ from tornado.web import Application import handlers +import logging import settings import template @@ -18,6 +19,7 @@ application = Application( (r'^/movie/(?P\d+)/(?Pdownload)/(?P.+)/?$', handlers.MovieHandler), ], debug=settings.DEBUG, + log_function=logging.debug, static_path=settings.STATIC_PATH, static_url_prefix=settings.STATIC_URL )