Merge "Add init call to which child classes can reach through super calls to set the correct context for log messages from child classes"

This commit is contained in:
Jenkins
2014-04-25 19:34:55 +00:00
committed by Gerrit Code Review

View File

@@ -19,3 +19,7 @@ from cafe.common.reporting import cclogging
class BaseClient(object):
_log = cclogging.getLogger(__name__)
def __init__(self):
self._log = cclogging.getLogger(
cclogging.get_object_namespace(self.__class__))