Skip to content

Commit 1d5980a

Browse files
committed
Revert "Log process ID in each log entry (#949)"
This reverts commit 65dd9c5.
1 parent f5d3db9 commit 1d5980a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/root/logger.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"context"
55
"fmt"
66
"log/slog"
7-
"os"
87

98
"github.com/databricks/cli/libs/cmdio"
109
"github.com/databricks/cli/libs/env"
@@ -70,7 +69,7 @@ func (f *logFlags) initializeContext(ctx context.Context) (context.Context, erro
7069
return nil, err
7170
}
7271

73-
slog.SetDefault(slog.New(handler).With(slog.Int("pid", os.Getpid())))
72+
slog.SetDefault(slog.New(handler))
7473
return log.NewContext(ctx, slog.Default()), nil
7574
}
7675

0 commit comments

Comments
 (0)