Add more console output log for scenario tests

- Generalize _log_console_output
- Added console log ouput for ssh or ping check

Change-Id: I2900a64de4ea2ce447cb41c3b0290aa3186098e2
Merge "Add more console output log for scenario tests"