Explorar el Código

BatcaveClient: use default logger

Helge Jung hace 9 años
padre
commit
76c707f1b5
Se han modificado 1 ficheros con 1 adiciones y 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