Skip to content

Commit

Permalink
Make controller logging scope same as key
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Mar 13, 2024
1 parent 15db470 commit 72a150e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ftl/cmd_serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (s *serveCmd) Run(ctx context.Context) error {
return err
}

scope := fmt.Sprintf("controller%d", i)
scope := fmt.Sprintf("controller%d", config.Key.Suffix)
controllerCtx := log.ContextWithLogger(ctx, logger.Scope(scope))

wg.Go(func() error {
Expand Down

0 comments on commit 72a150e

Please sign in to comment.