Request completed message is not super useful
Closed this issue · 2 comments
AdriVanHoudt commented
The default message for the request completed log is request completed
.
Which is not really useful. And definitely not in logging solutions like Google Cloud log where it uses this as the message to show.
The workaround is to add the needed fields to the summary of the log line but I think it might be more useful to log a summary of the request. e.g. [response] get /version 200 (29ms)
=> [event type] method url statusCode (responseTime)
mcollina commented
Would you like to send a Pull Request to address this issue? Remember to add unit tests.
AdriVanHoudt commented
Will do, I opened an issue to make sure it would be accepted.