From cb68308abf87f85ff434b1657ce251117995cdaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Wed, 10 Sep 2014 16:24:44 +0200 Subject: [PATCH] Body in the logs should be debug-level Fixes #119, thanks traxair! --- elasticsearch/connection/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/connection/base.py b/elasticsearch/connection/base.py index 56ebb877..4995908c 100644 --- a/elasticsearch/connection/base.py +++ b/elasticsearch/connection/base.py @@ -81,7 +81,7 @@ class Connection(object): if body: body = body.decode('utf-8') - logger.info('> %s', body) + logger.debug('> %s', body) def _raise_error(self, status_code, raw_data): """ Locate appropriate exception and raise it. """