mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 08:09:10 +02:00
have the handler actually set the level of the logger
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user