fix(log): correct log stream in setup (#11623)

This commit is contained in:
Tim Möhlmann
2026-02-18 06:32:03 +00:00
committed by GitHub
parent c02d812b6c
commit f3b578f19f
4 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ func NewConfig(cmd *cobra.Command, v *viper.Viper) (*Config, instrumentation.Shu
if err != nil {
return nil, nil, fmt.Errorf("unable to start instrumentation: %w", err)
}
cmd.SetContext(logging.NewCtx(cmd.Context(), logging.StreamReady))
cmd.SetContext(logging.NewCtx(cmd.Context(), logging.StreamRuntime))
err = config.Log.SetLogger()
if err != nil {