mirror of
https://github.com/certbot/certbot.git
synced 2026-03-24 03:14:11 -04:00
have the handler actually set the level of the logger
This commit is contained in:
parent
4e9e01338c
commit
253cc3dc8f
1 changed files with 1 additions and 0 deletions
|
|
@ -116,6 +116,7 @@ def renew(cert, old_version):
|
|||
def _cli_log_handler(args, level, fmt): # pylint: disable=unused-argument
|
||||
handler = colored_logging.StreamHandler()
|
||||
handler.setFormatter(logging.Formatter(fmt))
|
||||
handler.setLevel(level)
|
||||
return handler
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue