Skip to content

Commit

Permalink
feat: prettify logging config
Browse files Browse the repository at this point in the history
  • Loading branch information
oedokumaci committed Mar 24, 2024
1 parent 8ce46a6 commit de582b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/template_python/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def main(log_to_file: bool = log_to_file_option) -> None:
CONFIG = parse_and_validate_configs()
if CONFIG:
logging.info("Config:")
for key, value in CONFIG.model_dump().items():
logging.info(f"{key}: {value}")
logging.info(CONFIG.model_dump_json(indent=4))
else:
logging.info("Config file is empty.")

0 comments on commit de582b3

Please sign in to comment.