Skip to content

Commit

Permalink
Use consistent naming
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniomika committed Feb 27, 2025
1 parent b80b790 commit b771065
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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)
}
Expand Down

0 comments on commit b771065

Please sign in to comment.