Move certain debug logs to trace logs

Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
This commit is contained in:
Kirtana Ashok
2024-01-10 14:43:54 -08:00
parent 25252e9790
commit f261969507
6 changed files with 18 additions and 18 deletions

View File

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