Skip to content

Commit

Permalink
fix logger level input
Browse files Browse the repository at this point in the history
  • Loading branch information
JessyBarrette committed Mar 20, 2024
1 parent 11e46e2 commit ea0ff57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harvester/cde_harvester/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
def setup_logging(log_time, log_level):
# setup logging
logging.basicConfig(
level=logging.DEBUG,
level=logging.getLevelName(log_level.upper()),
format="%(asctime)s - %(name)s : %(message)s"
if log_time
else "%(name)s : %(message)s",
Expand Down

0 comments on commit ea0ff57

Please sign in to comment.