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

Request logging additions (request id, forwarded user) #618

Merged
merged 4 commits into from
Dec 16, 2022

Conversation

sosedoff
Copy link
Owner

This adds a few extra pieces of information to the log output:

  • id - Adds request ID if detected via X-Request-ID / X-Amzn-Trace-ID headers, these usually set by a loadbalancer
  • forwarded_user forwarded_email - Coming from X-Forwarded-User/Email headers. Useful to log when running pgweb behind tools like oauth2-proxy

@sosedoff sosedoff merged commit afe431c into master Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant