mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-28 14:11:10 +01:00
Suppress logging during a diagnose run (#12101)
* Suppress logging during a diagnose run * remove debugging
This commit is contained in:
parent
2675a050e5
commit
484bd8daf0
@ -217,7 +217,9 @@ func (c *OperatorDiagnoseCommand) offlineDiagnostics(ctx context.Context) error
|
||||
|
||||
// TODO: other ServerCommand options?
|
||||
|
||||
logger: log.NewInterceptLogger(nil),
|
||||
logger: log.NewInterceptLogger(&log.LoggerOptions{
|
||||
Level: log.Off,
|
||||
}),
|
||||
allLoggers: []log.Logger{},
|
||||
reloadFuncs: &rloadFuncs,
|
||||
reloadFuncsLock: new(sync.RWMutex),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user