Add console logger and make sure logging to both console and log file for test.