-n implies -t for logging

This commit is contained in:
Brad Warren
2016-02-05 15:53:54 -08:00
parent 70ab18203d
commit 6ef0f71e0e
+1 -1
View File
@@ -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: