From 592dbbe3dd3eb88f9d971eaf2ffb77530777e530 Mon Sep 17 00:00:00 2001 From: tomaae <23486452+tomaae@users.noreply.github.com> Date: Sat, 4 Apr 2020 22:03:46 +0200 Subject: [PATCH] removed response from api.path query debug --- custom_components/mikrotik_router/mikrotikapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/mikrotik_router/mikrotikapi.py b/custom_components/mikrotik_router/mikrotikapi.py index 7897745..294bced 100644 --- a/custom_components/mikrotik_router/mikrotikapi.py +++ b/custom_components/mikrotik_router/mikrotikapi.py @@ -179,8 +179,8 @@ class MikrotikAPI: self.lock.acquire() try: + _LOGGER.debug("API query: %s", path) response = self._connection.path(path) - _LOGGER.debug("API response (%s): %s", path, response) except librouteros_custom.exceptions.ConnectionClosed: if not self.connection_error_reported: _LOGGER.error("Mikrotik %s connection closed", self._host)