Module: check_mk
Branch: master
Commit: c5751b1197b61c3fc2e228ef72809fa06a010e91
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c5751b1197b61c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Oct 14 13:49:53 2016 +0200
Fixed bug in yet unused code
---
lib/log.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/log.py b/lib/log.py
index b68721c..d729aeb 100644
--- a/lib/log.py
+++ b/lib/log.py
@@ -121,12 +121,12 @@ class LogMixin(object):
@property
def logger(self):
if not self._logger:
- self._logger = logging.getLogger('.'.join([__name__,
self.__class__.__name__]))
+ self._logger = _logging.getLogger('.'.join([__name__,
self.__class__.__name__]))
return self._logger
@classmethod
- def logger(cls):
+ def cls_logger(cls):
if not cls._cls_logger:
- cls._cls_logger = logging.getLogger('.'.join([__name__,
cls.__name__]))
+ cls._cls_logger = _logging.getLogger('.'.join([__name__,
cls.__name__]))
return cls._cls_logger