forked from ungleich-public/cdist
also log start of config run
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
a1d73f7281
commit
9fe2420547
1 changed files with 4 additions and 2 deletions
|
@ -269,6 +269,8 @@ class Config(object):
|
||||||
"""Do what is most often done: deploy & cleanup"""
|
"""Do what is most often done: deploy & cleanup"""
|
||||||
start_time = time.time()
|
start_time = time.time()
|
||||||
|
|
||||||
|
self.log.info("Starting configuration run")
|
||||||
|
|
||||||
self._init_files_dirs()
|
self._init_files_dirs()
|
||||||
|
|
||||||
self.explorer.run_global_explorers(self.local.global_explorer_out_path)
|
self.explorer.run_global_explorers(self.local.global_explorer_out_path)
|
||||||
|
@ -276,8 +278,8 @@ class Config(object):
|
||||||
self.iterate_until_finished()
|
self.iterate_until_finished()
|
||||||
|
|
||||||
self.local.save_cache(start_time)
|
self.local.save_cache(start_time)
|
||||||
self.log.info("Finished successful run in %s seconds",
|
self.log.info("Finished successful run in {:.2f} seconds".format(
|
||||||
time.time() - start_time)
|
time.time() - start_time))
|
||||||
|
|
||||||
def object_list(self):
|
def object_list(self):
|
||||||
"""Short name for object list retrieval"""
|
"""Short name for object list retrieval"""
|
||||||
|
|
Loading…
Reference in a new issue