diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-05-07 00:25:12 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-05-07 00:25:12 +0000 |
commit | 50b3e9287b1ef9646da8632ca223270ea86d7800 (patch) | |
tree | c450ea2ff9a747e7764b03919255a4dc01daf53d | |
parent | cecdedb73bf0dfed66964c91b08256b100997289 (diff) | |
download | bcfg2-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.py | 2 | ||||
-rw-r--r-- | src/lib/Server/FileMonitor.py | 2 |
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() |