Move certain debug logs to trace logs
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
This commit is contained in:
@@ -522,7 +522,7 @@ func (m *DB) cleanupSnapshotter(ctx context.Context, name string) (time.Duration
|
||||
if err != nil {
|
||||
logger.WithError(err).Warn("snapshot garbage collection failed")
|
||||
} else {
|
||||
logger.WithField("d", d).Debugf("snapshot garbage collected")
|
||||
logger.WithField("d", d).Tracef("snapshot garbage collected")
|
||||
}
|
||||
return d, err
|
||||
}
|
||||
@@ -537,7 +537,7 @@ func (m *DB) cleanupContent(ctx context.Context) (time.Duration, error) {
|
||||
if err != nil {
|
||||
log.G(ctx).WithError(err).Warn("content garbage collection failed")
|
||||
} else {
|
||||
log.G(ctx).WithField("d", d).Debugf("content garbage collected")
|
||||
log.G(ctx).WithField("d", d).Tracef("content garbage collected")
|
||||
}
|
||||
|
||||
return d, err
|
||||
|
||||
Reference in New Issue
Block a user