added colorcodes in the logfile