Switch console.log to logger.trace