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:
@@ -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__))
|
||||
|
||||
Reference in New Issue
Block a user