mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
change default logging level so deprecation warnings don't spam users
This commit is contained in:
parent
d9774d75de
commit
a202c6b633
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue