added consoleoutput to log