use a shared logger through a fabric in order to have the same settings everywhere

This commit is contained in:
ziirish 2019-02-08 19:04:33 +01:00
parent 2c1b4bb7ef
commit 21ea24ea53
No known key found for this signature in database
GPG key ID: 72DB229A64B54E46
16 changed files with 170 additions and 121 deletions

View file

@ -9,7 +9,7 @@
"""
from abc import ABCMeta, abstractmethod
import logging
from ...tools.logging import logger
class BUIparser(object, metaclass=ABCMeta):
@ -17,7 +17,7 @@ class BUIparser(object, metaclass=ABCMeta):
interface for ``burp`` configuration files parser.
"""
logger = logging.getLogger('burp-ui')
logger = logger
@abstractmethod
def read_server_conf(self, conf=None):