From 789dd40597bb91d9ef2c92716a5a0b37d69ad16c Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Thu, 2 Jul 2020 20:38:25 -0700 Subject: [PATCH] change default logging level so deprecation warnings don't spam users --- jrnl/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jrnl/cli.py b/jrnl/cli.py index e7beeca7..57686029 100644 --- a/jrnl/cli.py +++ b/jrnl/cli.py @@ -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(