From ca43a6c83da53771cca61597f1ff6a2019e8a805 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Mon, 14 Oct 2019 05:56:03 +0100 Subject: cleanaing up more logging --- datamaps/main.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/datamaps/main.py b/datamaps/main.py index 84d2e1b..3acd4a8 100644 --- a/datamaps/main.py +++ b/datamaps/main.py @@ -149,8 +149,7 @@ def master(master): @click.argument("target_file") def data_validations(target_file): """Requires the path to the target spreadsheet file.""" - click.secho(f"Getting data validations from: {target_file}", fg="green") - engine_config.initialise() + logger.info(f"Getting data validations from: {target_file}") report = engine_cli.report_data_validations_in_file(target_file) for r in report: - click.secho(r) + logger.info(r) -- cgit v1.2.3