Browse Source

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

(cherry picked from commit df26866f9e0b923fbc71967e4bc99f9dd91093e3)
Ying Chen 7 years ago
parent
commit
409f876119
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