Root level logger middleware should be active issue

My code gives the required result when checked in logger using glitch, yet the fcc say that the middleware should be active. I dont understand what it means. I tried using repl as well but same issue persist.

app.use(function (req,res,next){
const string=req.method+" “+req.path+” “+”-"+" "+req.ip;
console.log(string);
next();
})

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36.

Challenge: Implement a Root-Level Request Logger Middleware

Link to the challenge: