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

Rework request's logs on INFO level #57

Open
shindo opened this issue Jul 29, 2015 · 0 comments
Open

Rework request's logs on INFO level #57

shindo opened this issue Jul 29, 2015 · 0 comments

Comments

@shindo
Copy link
Contributor

shindo commented Jul 29, 2015

Currently on INFO log level for each request the following will be printed:

  • accepting connection from client
  • access_log_entry on request finalization (the only log line with request ID)
  • closing connection to client

What information could be helpful (on INFO log level):

  • access_log_entry-like line after receiving headers from client (i.e. before request is processed)
    This should include received headers as well as it's part of the request (e.g., Apache Module mod_log_forensic).
  • markers between keep-alive requests (process_next)
  • in case of bad (bad request) or malformed (invalid url, missing handler) request additional information and context should be provided (such as headers, request ID, ...)
    This additional context not necessarily should be in the same log line, but it should be searchable by request ID.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant