Removed an unnecessary console.log and replaced with a logger.log(trace)