Root-Level Request Logger Middleware - favicon.ico

Tell us what’s happening:


I have built a root level request logger.

It successfully logs /json or /style.css
I am missing the logging of favicon.ico

I am unsure if this is “my issue” or a glitch issue.

Your code so far

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0.