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
View File
@@ -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.
+1
View File
@@ -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.
+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 {
+1
View File
@@ -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.