mirror of https://github.com/zulip/zulip.git
dfaf45b2b6
Django's `manage.py runserver` prints a relatively low-information log line for every request of the form: [14/Dec/2015 00:43:06]"GET /static/js/message_list.js HTTP/1.0" 200 21969 This is pretty spammy, especially given that we already have our own middleware printing a more detailed version of the same log lines: 2015-12-14 00:43:06,935 INFO 127.0.0.1 GET 200 0ms /static/js/message_list.js (unauth via ?) Since runserver doesn't have support controlling whether these log lines are printed, we wrap it with a small bit of code that silences the log lines for 200/304 requests (aka the uninteresting ones). |
||
---|---|---|
.. | ||
commands | ||
__init__.py |