When you start a an express server using express-generator you get a single-line output for each request that looks a bit like this
GET /images/07777c4bc2aebaff6964a46b7c3714f3.png 200 2.730 ms - 15919
What are the space delimited fields? The first 4 are self evident, but the last 2 aren't.
- http verb
- endpoint
- http status
- number of ms required to generate and send the response
- ?
- ?
I found it. Turns out the express-generator generates the following code
In other words, express uses
morganas its default logger. It putsmorganindevmode. Whenmorganis indevmode it generates the following fieldsDocumentation