mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
Merge pull request #2385 from letsencrypt/noninteractive-implies-stderr-logging
Non-interactive implies stderr logging
This commit is contained in:
commit
063d22225e
1 changed files with 1 additions and 1 deletions
|
|
@ -1389,7 +1389,7 @@ def setup_log_file_handler(config, logfile, fmt):
|
|||
|
||||
|
||||
def _cli_log_handler(config, level, fmt):
|
||||
if config.text_mode:
|
||||
if config.text_mode or config.noninteractive_mode:
|
||||
handler = colored_logging.StreamHandler()
|
||||
handler.setFormatter(logging.Formatter(fmt))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue