Commit b52ca92c authored by Paul Rich's avatar Paul Rich
Browse files

Tagging run start with component information and host component is being run on

parent c6fa4f4e
......@@ -278,6 +278,8 @@ class Component (object):
self._component_lock = threading.Lock()
self._component_lock_acquired_time = None
self.statistics = Statistics()
self.logger.info("%s:%s component executing on %s", self.name,
self.implementation, socket.gethostname())
def __getstate__(self):
state = {}
......@@ -296,6 +298,8 @@ class Component (object):
self._component_lock = threading.Lock()
self._component_lock_acquired_time = None
self.statistics = Statistics()
self.logger.info("%s:%s component executing on %s", self.name,
self.implementation, socket.gethostname())
def component_lock_acquire(self):
entry_time = time.time()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment