-
Notifications
You must be signed in to change notification settings - Fork 436
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
feat: add http logging for Java #606
Conversation
@@ -19,6 +25,7 @@ | |||
private final String region; | |||
private final String edge; | |||
private final HttpClient httpClient; | |||
private static final Logger logger = LogManager.getLogger("TwilioRestClient"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should "TwilioRestClient"
be configurable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it would be necessary for this to be configurable because it should be the class name. I have now changed this to now use the name of the calling class based on the log4j documentation recommendation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎆
Fixes
https://issues.corp.twilio.com/browse/DI-944
Checklist