mirror of https://github.com/caronc/apprise
cli logging bugfix
parent
70bdb947de
commit
17438fa22b
|
@ -75,7 +75,7 @@ def _main(title, body, urls, notification_type, theme, verbose):
|
||||||
logger.setLevel(logging.INFO)
|
logger.setLevel(logging.INFO)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
logger.setLevel(logging.NONE)
|
logger.setLevel(logging.ERROR)
|
||||||
|
|
||||||
formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')
|
formatter = logging.Formatter('%(asctime)s - %(levelname)s - %(message)s')
|
||||||
ch.setFormatter(formatter)
|
ch.setFormatter(formatter)
|
||||||
|
|
Loading…
Reference in New Issue