diff --git a/cmd/defaults.yaml b/cmd/defaults.yaml index babfda3c3..ea0a81725 100644 --- a/cmd/defaults.yaml +++ b/cmd/defaults.yaml @@ -49,6 +49,7 @@ Instrumentation: # Streams enable logging for specific parts of the application. Streams: # ZITADEL_INSTRUMENTATION_LOG_STREAMS (comma separated list) - runtime # General runtime logs, such as startup and shutdown messages. + - ready # Logs related to readiness and health checks. (zitadel ready command) - request # Logs for incoming API and HTTP requests. - event_handler # Logs for event handling in projections. - queue # Logs for the job queue processing. diff --git a/cmd/mirror/defaults.yaml b/cmd/mirror/defaults.yaml index 9cad15dd0..929a13d0c 100644 --- a/cmd/mirror/defaults.yaml +++ b/cmd/mirror/defaults.yaml @@ -49,6 +49,7 @@ Instrumentation: # Streams enable logging for specific parts of the application. Streams: # ZITADEL_INSTRUMENTATION_LOG_STREAMS (comma separated list) - runtime # General runtime logs, such as startup and shutdown messages. + - ready # Logs related to readiness and health checks. (zitadel ready command) - request # Logs for incoming API and HTTP requests. - event_handler # Logs for event handling in projections. - queue # Logs for the job queue processing. diff --git a/cmd/setup/config.go b/cmd/setup/config.go index aa1a1554b..12f6b4e11 100644 --- a/cmd/setup/config.go +++ b/cmd/setup/config.go @@ -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 { diff --git a/cmd/setup/steps.yaml b/cmd/setup/steps.yaml index fc1ee5bb6..825be6f0b 100644 --- a/cmd/setup/steps.yaml +++ b/cmd/setup/steps.yaml @@ -49,6 +49,7 @@ Instrumentation: # Streams enable logging for specific parts of the application. Streams: # ZITADEL_INSTRUMENTATION_LOG_STREAMS (comma separated list) - runtime # General runtime logs, such as startup and shutdown messages. + - ready # Logs related to readiness and health checks. (zitadel ready command) - request # Logs for incoming API and HTTP requests. - event_handler # Logs for event handling in projections. - queue # Logs for the job queue processing.