Implement a Root-Level Request Logger Middleware--help {SOLVED}

Tell us what’s happening:
Describe your issue in detail here.
Output in the console but does not pass the test.
I have run npm update --save and still do not pass.
Your project link(s)

solution: https://replit.com/@twincreations/boilerplate-express

Your browser information:

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

Challenge: Implement a Root-Level Request Logger Middleware

Link to the challenge:

I found the error, and Challenge has now passed.

Hello there,

I am glad you resolved the issue. Would you mind sharing what the error was, so that I can mark the solution for this post? It could help other Campers a lot.

console.log line had extra formatting that the test case required.
console.log ( "Methdod:" ,req.method + " " +"Path:", req.path + " " + "IP "+" - " + req.ip) )

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