diff --git a/src/l10n.py b/src/l10n.py index b3b16341..d18f4199 100644 --- a/src/l10n.py +++ b/src/l10n.py @@ -6,8 +6,7 @@ import time from bmconfigparser import BMConfigParser -#logger = logging.getLogger(__name__) -logger = logging.getLogger('file_only') +logger = logging.getLogger('default') DEFAULT_ENCODING = 'ISO8859-1' diff --git a/src/plugins/proxyconfig_stem.py b/src/plugins/proxyconfig_stem.py index 5bb9a726..bdbfe8ca 100644 --- a/src/plugins/proxyconfig_stem.py +++ b/src/plugins/proxyconfig_stem.py @@ -18,7 +18,7 @@ class DebugLogger(object): """Safe logger wrapper for tor and plugin's logs""" # pylint: disable=too-few-public-methods def __init__(self): - self._logger = logging.getLogger(__name__.split('.', 1)[0]) + self._logger = logging.getLogger('default') self._levels = { 'err': 40, 'warn': 30,