-
Notifications
You must be signed in to change notification settings - Fork 103
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
remove old logger from local server, use slog and span http, add span_id and trace_sampled attrs to log #1457
remove old logger from local server, use slog and span http, add span_id and trace_sampled attrs to log #1457
Conversation
@@ -155,17 +142,29 @@ func (ls *localServer) LoadDefaultKeyIfNotSet() error { | |||
|
|||
serverRsaCertPem := k2RsaServerCert | |||
serverEccCertPem := k2EccServerCert | |||
|
|||
ctx := context.TODO() | |||
slogLevel := slog.LevelDebug |
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.
Does anything change this?
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.
no, it just felt correct to have it in one spot incase we wanted to change it
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 think if you don't plan on implementing that, it's more confusing than helpful.
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 will remove the var next time I touch this area.
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.
Woo
@@ -155,17 +142,29 @@ func (ls *localServer) LoadDefaultKeyIfNotSet() error { | |||
|
|||
serverRsaCertPem := k2RsaServerCert | |||
serverEccCertPem := k2EccServerCert | |||
|
|||
ctx := context.TODO() | |||
slogLevel := slog.LevelDebug |
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 think if you don't plan on implementing that, it's more confusing than helpful.
relates to #1449