diff --git a/earwigbot/wiki/site.py b/earwigbot/wiki/site.py index 6a2d092..e9fb38a 100644 --- a/earwigbot/wiki/site.py +++ b/earwigbot/wiki/site.py @@ -232,6 +232,8 @@ class Site(object): url, data = self._build_api_query(params, ignore_maxlag, no_assert) if "lgpassword" in params: self._logger.debug("{0} -> ".format(url)) + elif len(data) > 1000: + self._logger.debug("{0} -> {1}...".format(url, data[:997])) else: self._logger.debug("{0} -> {1}".format(url, data))