Browse Source

HUE-8128 [backend] Force debug logging in server logs does not get all debug

Ying Chen 7 years ago
parent
commit
df26866
1 changed files with 1 additions and 0 deletions
  1. 1 0
      desktop/core/src/desktop/lib/rest/resource.py

+ 1 - 0
desktop/core/src/desktop/lib/rest/resource.py

@@ -108,6 +108,7 @@ class Resource(object):
           smart_unicode(resp.content[:log_length or None], errors='replace'),
           log_length and len(resp.content) > log_length and "..." or ""
       )
+      self._client.logger.disabled = 0
       log_if_slow_call(duration=duration, message=message, logger=self._client.logger)
 
     return resp