summaryrefslogtreecommitdiff
path: root/swiftclient/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'swiftclient/client.py')
-rw-r--r--swiftclient/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/swiftclient/client.py b/swiftclient/client.py
index 78e2cfe..7b50860 100644
--- a/swiftclient/client.py
+++ b/swiftclient/client.py
@@ -88,8 +88,8 @@ def http_log(args, kwargs, resp, body):
else:
log_method = logger.info
- log_method("REQ: %s" % "".join(string_parts))
- log_method("RESP STATUS: %s %s" % (resp.status, resp.reason))
+ log_method("REQ: %s", "".join(string_parts))
+ log_method("RESP STATUS: %s %s", resp.status, resp.reason)
log_method("RESP HEADERS: %s", resp.getheaders())
if body:
log_method("RESP BODY: %s", body)