summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-05-07 00:25:12 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-05-07 00:25:12 +0000
commit50b3e9287b1ef9646da8632ca223270ea86d7800 (patch)
treec450ea2ff9a747e7764b03919255a4dc01daf53d
parentcecdedb73bf0dfed66964c91b08256b100997289 (diff)
downloadbcfg2-50b3e9287b1ef9646da8632ca223270ea86d7800.tar.gz
bcfg2-50b3e9287b1ef9646da8632ca223270ea86d7800.tar.bz2
bcfg2-50b3e9287b1ef9646da8632ca223270ea86d7800.zip
Make time logging uniform
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5203 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Server/Core.py2
-rw-r--r--src/lib/Server/FileMonitor.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py
index a162cbeb2..6a9a6b47f 100644
--- a/src/lib/Server/Core.py
+++ b/src/lib/Server/Core.py
@@ -209,7 +209,7 @@ class Core(object):
except:
logger.error("error in BindStructure", exc_info=1)
self.validate_data(meta, config, Bcfg2.Server.Plugin.GoalValidator)
- logger.info("Generated config for %s in %s seconds" % \
+ logger.info("Generated config for %s in %.03fs" % \
(client, time() - start))
return config
diff --git a/src/lib/Server/FileMonitor.py b/src/lib/Server/FileMonitor.py
index ccf2f2f8a..b8947f8f1 100644
--- a/src/lib/Server/FileMonitor.py
+++ b/src/lib/Server/FileMonitor.py
@@ -77,7 +77,7 @@ class FileMonitor(object):
if lock:
lock.release()
end = time()
- logger.info("Handled %d events in %.02fs" % (count, (end-start)))
+ logger.info("Handled %d events in %.03fs" % (count, (end-start)))
def handle_events_in_interval(self, interval):
start = time()