From df0beec957c5e3cbf956c9ead13a36a0b9b5456e Mon Sep 17 00:00:00 2001 From: redxef Date: Thu, 13 Oct 2022 11:45:03 +0200 Subject: [PATCH] Default logging level on startup. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 9e803ff..ae04670 100755 --- a/main.py +++ b/main.py @@ -182,7 +182,7 @@ def set_logging_level(level: str): @click.option('--range', '-r', envvar='WP_CAL_RANGE', default=None, help='The time range from start to start + range to synchronize events') def main(config, dryrun, level, range): init_logging() - set_logging_level(level) + set_logging_level(':DEBUG') config_overrides = [('logging.level', level), ('range', range)] config_overrides = [x for x in config_overrides if x[1] is not None]