Root level logger middleware should be active error in replit

app.use(function(req, res, next){
  console.log(req.method+' '+req.path+'-'+req.ip)
  next()

})

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.