From b25fa26e008851b98d116ed1fb96c5e590af37c5 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 22 Jul 2019 18:10:47 +0300 Subject: Add: debug logging --- api.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api.py') diff --git a/api.py b/api.py index bc61783..cca9ba2 100755 --- a/api.py +++ b/api.py @@ -336,6 +336,8 @@ class Deployer(API): ] def _publish(self): + r = bottle.request + logging.debug('_publish called: %r %r', dict(r.headers), r.body) spec = bottle.request.json logging.info('Publishing: %r', spec) -- cgit v1.2.1