Revert "Log process ID in each log entry (#949)"

This reverts commit 65dd9c5c0f.
This commit is contained in:
Denis Bilenko 2025-01-24 19:17:26 +01:00
parent f5d3db9c3c
commit 1d5980a11e
1 changed files with 1 additions and 2 deletions

View File

@ -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
}