core icon indicating copy to clipboard operation
core copied to clipboard

Log requests

Open matiasgarcia opened this issue 2 years ago • 1 comments

It would be nice if AdonisJS would have something out of the box that allows to log the request and responses received.

After doing some investigation, it looks like there are some libs out there that do this but it would be nice that the framework integrates them:

  • https://github.com/hash-id/adonis-request-logger
  • https://github.com/adonisjs/adonis-http-logger

Plus, it would help to integrate it with LucidJS or the database driver to track things such as time spent in database, allocations, etc.

matiasgarcia avatar Jul 21 '22 18:07 matiasgarcia

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 20 '22 19:09 stale[bot]