using a logger (winston) instead of console.log