Explorar o código

BatcaveClient: use default logger

Helge Jung %!s(int64=9) %!d(string=hai) anos
pai
achega
76c707f1b5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      modules/batcave/client.py

+ 1 - 1
modules/batcave/client.py

@@ -11,7 +11,7 @@ class BatcaveClient(object):
         assert url.endswith("/"), "BATCAVE URL must end with slash."
 
         self.base_url = url
-        self.logger = logging.getLogger('BATCAVE')
+        self.logger = logging.getLogger()
 
     def __load_response(self, url, error_context):
         raw_data = None