diff --git a/src/utils/agents/data-collector.py b/src/utils/agents/data-collector.py index ae1f0f8..8b77b12 100644 --- a/src/utils/agents/data-collector.py +++ b/src/utils/agents/data-collector.py @@ -83,6 +83,7 @@ class ICollector(Thread) : else: label = id row = data + self.lock.acquire() store = self.factory.instance(type=write_class,args=read_args) store.flush(size=200) @@ -90,6 +91,7 @@ class ICollector(Thread) : self.lock.release() if 'MONITOR_CONFIG_PATH' in os.environ : break + print '\t *** ',str(datetime.today()),' ** ',app time.sleep(self.DELAY) print ' *** Exiting ',self.name