From 33c070ae13e0cbc3e13a762e757208383ef50025 Mon Sep 17 00:00:00 2001 From: echel0n Date: Tue, 16 Dec 2014 23:33:35 -0800 Subject: [PATCH] Fixed error 'No handlers could be found' issue --- sickbeard/logger.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sickbeard/logger.py b/sickbeard/logger.py index 0b99daba..ee458742 100644 --- a/sickbeard/logger.py +++ b/sickbeard/logger.py @@ -84,6 +84,9 @@ class Logger(object): # add a new logging level DB logging.addLevelName(DB, 'DB') + # nullify root logger + logging.getLogger().addHandler(NullHandler()) + # set custom root logger for logger in self.loggers: if logger is not self.logger.logger: