diff options
author | Sven Mäder <rda0@users.noreply.github.com> | 2021-02-11 13:32:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-11 15:32:08 +0300 |
commit | 0b7fcdba636ca6bd753761d6fd4309879fff0bfd (patch) | |
tree | 806facfa4302577745ecfdeb7b68d10a8cf9d13a /collectors/python.d.plugin/python_modules | |
parent | 7c3c7a4c240f309e25a965c078bb7521c7ec0fb5 (diff) |
Fixes #10597 raw binary data should never be printed (#10603)
Diffstat (limited to 'collectors/python.d.plugin/python_modules')
-rw-r--r-- | collectors/python.d.plugin/python_modules/bases/FrameworkServices/SocketService.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collectors/python.d.plugin/python_modules/bases/FrameworkServices/SocketService.py b/collectors/python.d.plugin/python_modules/bases/FrameworkServices/SocketService.py index bef3792daa..d6c7550587 100644 --- a/collectors/python.d.plugin/python_modules/bases/FrameworkServices/SocketService.py +++ b/collectors/python.d.plugin/python_modules/bases/FrameworkServices/SocketService.py @@ -247,7 +247,7 @@ class SocketService(SimpleService): if self._check_raw_data(data): break - self.debug(u'final response: {0}'.format(data)) + self.debug(u'final response: {0}'.format(data if not raw else u'binary data')) return data def _get_raw_data(self, raw=False, request=None): |