浏览代码

Add a logger for answer status

Guillaume Ayoub 14 年之前
父节点
当前提交
3689944372
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      radicale/__init__.py

+ 1 - 0
radicale/__init__.py

@@ -255,6 +255,7 @@ class Application(object):
 
         # Start response
         status = "%i %s" % (status, client.responses.get(status, "Unknown"))
+        log.LOGGER.debug("Answer status: %s" % status)
         start_response(status, list(headers.items()))
 
         # Return response content