diff --git a/md_pdf/cli.py b/md_pdf/cli.py index 60b8d3d..8ff13d8 100644 --- a/md_pdf/cli.py +++ b/md_pdf/cli.py @@ -7,11 +7,11 @@ from md_pdf.config.validate import validate_config from md_pdf.csl import check_csl, download_csl FORMAT = "[%(levelname)s]: %(message)s" -logging.basicConfig(format=FORMAT, level=logging.DEBUG) def cli(): args = parse_args() + logging.basicConfig(format=FORMAT, level=logging.INFO if args.verbose else logging.NOTSET) try: if args.update_csl: download_csl()