Skip to content

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

3 participants