mirror of https://github.com/databricks/cli.git
Revert "Log process ID in each log entry (#949)"
This reverts commit 65dd9c5c0f
.
This commit is contained in:
parent
f5d3db9c3c
commit
1d5980a11e
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue