-
Notifications
You must be signed in to change notification settings - Fork 610
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When an error occurs, log the IP address of the far end.
Summary: Example of a current error message: ``` 2024/10/11 06:21:10 thrift: error processing request: tls: first record does not look like a TLS handshake ``` It does not include any information about the connection source making it impossible to determine the source of the problem. This patch adds the RemoteAddress() to the message to provide information about the source of the reqest that generated the error. Reviewed By: awalterschulze Differential Revision: D64241912 fbshipit-source-id: 70ee77ac6016f3d939e31c7d1c154f1f1ba2616f
- Loading branch information
1 parent
f76953c
commit 45fcc14
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters