Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add request logging #716

merged 8 commits into from Jul 30, 2022


Copy link

Related Issues

Closes #660.


  • adds request logging; logs request time, ip, method, and url, as well as the response status code and response time.
  • request logging is enabled by default, and can be disabled using --no-request-logging, or -L.

Copy link

@leerob leerob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - should we add a test?

Copy link
Contributor Author

Sure, will do

Copy link
Contributor Author

Added tests now :]

@leerob leerob merged commit 337279c into vercel:main Jul 30, 2022
2 checks passed
@gamemaker1 gamemaker1 deleted the feat/add-request-logging branch July 30, 2022 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

Where is log? Can I use serve in production environment?
2 participants