summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-10-20 15:52:28 -0400
committerSimo Sorce <simo@redhat.com>2015-10-23 14:10:53 -0400
commit264b65d30c092ba5ae13b28df3402b90ae583b64 (patch)
treee53a0163eb4d2dc437163ac2a08ccc5c81464625
parent46da0f939dfb634135f1668dc0e9644b4f179d4e (diff)
downloadcustodia-264b65d30c092ba5ae13b28df3402b90ae583b64.tar.gz
custodia-264b65d30c092ba5ae13b28df3402b90ae583b64.tar.xz
custodia-264b65d30c092ba5ae13b28df3402b90ae583b64.zip
Add incoming requests to debug log
Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Christian Heimes <cheimes@redhat.com>
-rw-r--r--custodia/httpd/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/custodia/httpd/server.py b/custodia/httpd/server.py
index 24ac71b..c1df0cb 100644
--- a/custodia/httpd/server.py
+++ b/custodia/httpd/server.py
@@ -245,6 +245,7 @@ class HTTPRequestHandler(BaseHTTPRequestHandler):
'version': self.request_version,
'headers': self.headers,
'body': self.body}
+ logger.debug("REQUEST: %r", request)
try:
response = self.pipeline(self.server.config, request)
if response is None: