Merge "Fixed _log_console_output call on failure"