Skip to content

Commit

Permalink
fix error with logiging option
Browse files Browse the repository at this point in the history
  • Loading branch information
hilpitome committed Dec 10, 2024
1 parent 0349fee commit 17df517
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions importer/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ def main(
):
if log_level == "DEBUG":
logging.basicConfig(
filename="importer.log", encoding="utf-8", level=logging.DEBUG
filename="importer.log", level=logging.DEBUG
)
elif log_level == "INFO":
logging.basicConfig(
filename="importer.log", encoding="utf-8", level=logging.INFO
filename="importer.log", level=logging.INFO
)
elif log_level == "ERROR":
logging.basicConfig(
filename="importer.log", encoding="utf-8", level=logging.ERROR
filename="importer.log", level=logging.ERROR
)
logging.getLogger().addHandler(logging.StreamHandler())

Expand Down

0 comments on commit 17df517

Please sign in to comment.