change default logging level so deprecation warnings don't spam users

This commit is contained in:
Jonathan Wren 2020-07-02 20:38:25 -07:00
parent d9774d75de
commit a202c6b633
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A

View file

@ -115,7 +115,7 @@ def update_config(config, new_config, scope, force_local=False):
def configure_logger(debug=False):
logging.basicConfig(
level=logging.DEBUG if debug else logging.INFO,
level=logging.DEBUG if debug else logging.ERROR,
format="%(levelname)-8s %(name)-12s %(message)s",
)
logging.getLogger("parsedatetime").setLevel(