mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 12:07:54 +00:00
Suppress logging during a diagnose run (#12101)
* Suppress logging during a diagnose run * remove debugging
This commit is contained in:
@@ -217,7 +217,9 @@ func (c *OperatorDiagnoseCommand) offlineDiagnostics(ctx context.Context) error
|
|||||||
|
|
||||||
// TODO: other ServerCommand options?
|
// TODO: other ServerCommand options?
|
||||||
|
|
||||||
logger: log.NewInterceptLogger(nil),
|
logger: log.NewInterceptLogger(&log.LoggerOptions{
|
||||||
|
Level: log.Off,
|
||||||
|
}),
|
||||||
allLoggers: []log.Logger{},
|
allLoggers: []log.Logger{},
|
||||||
reloadFuncs: &rloadFuncs,
|
reloadFuncs: &rloadFuncs,
|
||||||
reloadFuncsLock: new(sync.RWMutex),
|
reloadFuncsLock: new(sync.RWMutex),
|
||||||
|
|||||||
Reference in New Issue
Block a user