Default logging level on startup.
This commit is contained in:
parent
39923a0c5f
commit
df0beec957
1 changed files with 1 additions and 1 deletions
2
main.py
2
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]
|
||||
|
|
Loading…
Reference in a new issue