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

Add clientIp to all JSON logs #326

Merged
merged 4 commits into from
Aug 3, 2021
Merged

Add clientIp to all JSON logs #326

merged 4 commits into from
Aug 3, 2021

Conversation

obilodeau
Copy link
Member

PR that resolves #321.

Locally tested, I'll test it further in integration tests that I'll do before the next release.

The only concern I have is whether I should cleanup all loggers or not. For example, should I manually go and destroy all clientIp in the log.extra dictionary? I'm not doing so right now because the MITMServerFactory creates a new object on every connection so loggers should all be reaped.

Bonus: warning removal and logging fixes in core.ssl.

@obilodeau obilodeau added the enhancement New feature or request label Jul 29, 2021
@obilodeau obilodeau added this to the v1.1.0 milestone Jul 29, 2021
@obilodeau obilodeau merged commit b1f1019 into master Aug 3, 2021
@obilodeau obilodeau deleted the clientIp-on-all-messages branch August 6, 2021 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add clientIp to all JSON log records
1 participant