diff --git a/src/plugins/helpers.py b/src/plugins/helpers.py index d6d1e412e..18c747527 100644 --- a/src/plugins/helpers.py +++ b/src/plugins/helpers.py @@ -27,6 +27,8 @@ Helper code related to plug-ins management system. __all__ = ['log', 'log_calls', 'Singleton'] import logging +import functools + log = logging.getLogger('gajim.plugin_system') ''' Logger for code related to plug-in system. @@ -34,17 +36,6 @@ Logger for code related to plug-in system. :type: logging.Logger ''' -consoleloghandler = logging.StreamHandler() -#consoleloghandler.setLevel(1) -consoleloghandler.setFormatter( - logging.Formatter('%(levelname)s: %(message)s')) - #logging.Formatter('%(asctime)s %(name)s: %(levelname)s: %(message)s')) -#log.setLevel(logging.DEBUG) -log.addHandler(consoleloghandler) -log.propagate = False - -import functools - class GajimPluginActivateException(Exception): ''' Raised when activation failed