Turned on console logger for debug mode