Index: leahi_dialin/utils/base.py =================================================================== diff -u -r894abd4d8e62d20ba65ca78e443ffb5ea00c07ea -rc5bfcf84ed942ca5841bf9de155aa0f495b4d28d --- leahi_dialin/utils/base.py (.../base.py) (revision 894abd4d8e62d20ba65ca78e443ffb5ea00c07ea) +++ leahi_dialin/utils/base.py (.../base.py) (revision c5bfcf84ed942ca5841bf9de155aa0f495b4d28d) @@ -77,11 +77,9 @@ def __init__(self, log_level=None, log_filepath="Dialin.log"): """ - @param log_level: (str) or (None) if not set, contains the logging level @param log_filepath: (str) the log filepath """ - self.log_level = log_level self.logging_enabled = self.log_level_enables_logging(log_level) self.log_filepath = self.get_available_log_path(log_filepath) @@ -125,7 +123,6 @@ @return: True if successful, False otherwise """ - # remove existing handlers if self.logger is not None: for handler in self.logger.handlers: @@ -199,7 +196,6 @@ @param filepath: The full path to the file @return: (str) The available log filepath """ - if not os.path.exists(filepath): return filepath @@ -217,7 +213,6 @@ """ Initialization function for the sub system # The abstract base class requires all abstract methods are overridden by children classes - """ self._observers = [] self._datetime_fmt = "%m.%d.%Y_%I.%M.%S.%f" @@ -247,7 +242,6 @@ def _decorator(func): """ - @param func: The handler function @return: The function to wrap around _publish """