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

Adds ip to failed logs #12725

Merged
merged 2 commits into from
May 26, 2023
Merged

Adds ip to failed logs #12725

merged 2 commits into from
May 26, 2023

Conversation

abhi1693
Copy link
Member

Fixes: #12562

Should I raise an exception if client_ip=None?

@abhi1693 abhi1693 requested a review from jeremystretch May 25, 2023 20:20
@jeremystretch
Copy link
Member

I don't think an exception is necessary, but in the even the client IP cannot be determined (e.g. due to omitted HTTP headers), we should report that in the log message.

@abhi1693
Copy link
Member Author

@jeremystretch I have added a separate warning now to let the user know about a possible mis-configuration

@jeremystretch jeremystretch merged commit 5869894 into develop May 26, 2023
@jeremystretch jeremystretch deleted the feat/12562-log-ip branch May 26, 2023 12:46
@jeremystretch
Copy link
Member

Thanks @abhi1693!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add IP address to auth log output
2 participants