mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 08:38:32 +02:00
change default logging level so deprecation warnings don't spam users
This commit is contained in:
parent
22db905e3d
commit
789dd40597
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