Browse Source

Add a logger for answer status

Guillaume Ayoub 14 năm trước cách đây
mục cha
commit
3689944372
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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