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

Issue 51098: Update HTTP access logging to capture true client IP #872

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

labkey-jeckels
Copy link
Contributor

Rationale

Many instances run behind a load balancer or similar network infrastructure. We want to log both the IP of the host making the request to the server, and original client's IP.

Changes

  • Enable file-based HTTP access logging by default
  • Log the X-Forwarded-For request header in both JSON and plain text variants

@labkey-jeckels labkey-jeckels merged commit daa2201 into release24.9-SNAPSHOT Sep 3, 2024
5 checks passed
@labkey-jeckels labkey-jeckels deleted the 24.9_fb_51098_accessLogging branch September 3, 2024 21:26
@labkey-jeckels labkey-jeckels changed the title Issue 51098: UpdateHTTP access logging to capture true client IP Issue 51098: Update HTTP access logging to capture true client IP Sep 3, 2024
labkey-jeckels added a commit that referenced this pull request Sep 5, 2024
labkey-jeckels added a commit that referenced this pull request Sep 6, 2024
…ckport) (#877)

* Issue 51098: Update embedded Tomcat HTTP access logging to capture true client IP (#872)

* Issue 51098: Correctly spell "referer" incorrectly (#873)
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.

2 participants