From b771065531d381e913cab355b1deedcfc30a67ea Mon Sep 17 00:00:00 2001 From: Antonio Mika Date: Thu, 27 Feb 2025 09:44:11 -0500 Subject: [PATCH] Use consistent naming --- shared/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/config.go b/shared/config.go index 235d7a64..18a9ac55 100644 --- a/shared/config.go +++ b/shared/config.go @@ -281,7 +281,7 @@ func CreateLogger(space string) *slog.Logger { Level: slog.LevelInfo, }, ), - ).With("service") + ).With("service", space) if strings.ToLower(utils.GetEnv("PICO_PIPE_ENABLED", "true")) == "true" { conn := NewPicoPipeClient() @@ -293,7 +293,7 @@ func CreateLogger(space string) *slog.Logger { logger = logger.With("hostname", hostname) } - nodename := os.Getenv("NODE_NAME") + nodename := os.Getenv("NODENAME") if nodename != "" { logger = logger.With("nodename", nodename) }