From 89f710fbff9f927e28a883c303c27fa1b95cbed7 Mon Sep 17 00:00:00 2001 From: "Steve L. Nyemba" Date: Fri, 3 Mar 2017 07:03:29 -0600 Subject: [PATCH] data collection print out --- src/utils/agents/data-collector.py | 2 ++ 1 file changed, 2 insertions(+) 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