-
Notifications
You must be signed in to change notification settings - Fork 1
Enhance logging output #65
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
base: main
Are you sure you want to change the base?
Conversation
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.
Sometim
var userAgent = response.RequestMessage.Headers.TryGetValues("User-Agent", out var values) ? values.FirstOrDefault() : string.Empty; | ||
var requestId = response.Headers.TryGetValues("X-Request-ID", out values) ? values.FirstOrDefault() : string.Empty; | ||
|
||
_logger.LogDebug($"{response.RequestMessage.Method} HTTP/{response.Version} {contentType}" + |
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.
Sometimes the URI is "***" in the docs.. find out why and fix
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 just checked that, github workflow automatically hides potential credentials
locally it outputs
POST HTTP/1.1 application/json https://login.relationalai.com/oauth/token 200 rai-sdk-csharp/0.9.12-alpha
No description provided.