Disable tornado request logging in favor of our Django logging.

(imported from commit 2144b2ac1cdb6062bb32fca4cc69ea3f4570cf69)
This commit is contained in:
Tim Abbott 2013-03-14 17:33:13 -04:00
parent 4df6736225
commit ade7146cd9
1 changed files with 3 additions and 1 deletions

View File

@ -123,7 +123,9 @@ class Command(BaseCommand):
(r"/notify_new_message", AsyncDjangoHandler),
(r"/notify_pointer_update", AsyncDjangoHandler),
], debug=django.conf.settings.DEBUG)
], debug=django.conf.settings.DEBUG,
# Disable Tornado's own request logging, since we have our own
log_function=lambda x: None)
# start tornado web server in single-threaded mode
http_server = httpserver.HTTPServer(application,