Changed logging events

Changed console.log events to corresponding logger.logThis events