Skip to content

Commit

Permalink
fix: log only warning messages from notion with --verbose flag
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhd1701 committed May 27, 2022
1 parent d0aa9ea commit 9b74b15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions enex2notion/cli_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def setup_logging(is_verbose: bool, log_file: Optional[Path]):
logging.getLogger("enex2notion").addHandler(file_handler)

logging.getLogger("urllib3").setLevel(logging.ERROR)
logging.getLogger("notion").setLevel(logging.WARNING)

_disable_bs4_warning()

Expand Down

0 comments on commit 9b74b15

Please sign in to comment.