Skip to content

Commit c8af3e9

Browse files
authored
tracing: log v2-enabled message at info level (#715)
1 parent 7e4178a commit c8af3e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tracing/tracer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ type Tracer struct {
8585
// and the error will be logged if logger is non-nil.
8686
func InitGlobalTracer(cfg Config) error {
8787
if internalv2compat.V2TracingEnabled() {
88-
cfg.Logger.Log(context.Background(), `v2 tracing is enabled; skipping v0 tracer configuration`)
88+
log.Info(`v2 tracing is enabled; skipping v0 tracer configuration`)
8989
return nil
9090
}
9191
var tracer Tracer

0 commit comments

Comments
 (0)