diff --git a/cmd/root/logger.go b/cmd/root/logger.go index 38e09b9c9..e3f47b978 100644 --- a/cmd/root/logger.go +++ b/cmd/root/logger.go @@ -4,7 +4,6 @@ import ( "context" "fmt" "log/slog" - "os" "github.com/databricks/cli/libs/cmdio" "github.com/databricks/cli/libs/env" @@ -70,7 +69,7 @@ func (f *logFlags) initializeContext(ctx context.Context) (context.Context, erro return nil, err } - slog.SetDefault(slog.New(handler).With(slog.Int("pid", os.Getpid()))) + slog.SetDefault(slog.New(handler)) return log.NewContext(ctx, slog.Default()), nil }