Commit f7d162af authored by Christophe Benz's avatar Christophe Benz
Browse files

Fix logging

parent 0e2c2414
......@@ -48,7 +48,7 @@ def cli(
doltpy_log_level: str = typer.Option(os.getenv("DOLTPY_LOG_LEVEL", "INFO")),
):
daiquiri.setup()
logger.setLevel(logging.DEBUG if verbose else logging.INFO)
logging.getLogger("import_json_data").setLevel(logging.DEBUG if verbose else logging.INFO)
if csv_target_dir is None and dolt_repo_dir is None:
logger.error("One of --to-csv and --to-dolt must be used")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment