删除Gunicorn中的一些日志

时间:2018-11-22 11:18:13

标签: django gunicorn

嗨,我正在将gunicorn用作django的Web服务器。我希望将Closing connection日志排除在外或至少在某种程度上避免了。这可能吗?

[2018-11-22 19:07:31 +0800] [11] [DEBUG] GET /admin/login/ {Client-IP: -, Request-time: 0.010543, Request-date: [22/Nov/2018:19:07:31 +0800], HTTP-Status: "GET /admin/login/ HTTP/1.1", HTTP-Status-Code: 200, Response-length: 1987, Http-Referrer: -, User-Agent: kube-probe/1.9+} [2018-11-22 19:07:31 +0800] [11] [DEBUG] Closing connection.

0 个答案:

没有答案