diff --git a/pkg/local_object_storage/writecache/writecachebadger/util.go b/pkg/local_object_storage/writecache/writecachebadger/util.go index 1bb278f0..6d72c203 100644 --- a/pkg/local_object_storage/writecache/writecachebadger/util.go +++ b/pkg/local_object_storage/writecache/writecachebadger/util.go @@ -24,13 +24,13 @@ func (w badgerLoggerWrapper) Errorf(msg string, args ...any) { } func (w badgerLoggerWrapper) Warningf(msg string, args ...any) { - w.l.Error(fmt.Sprintf(msg, args...)) + w.l.Warn(fmt.Sprintf(msg, args...)) } func (w badgerLoggerWrapper) Infof(msg string, args ...any) { - w.l.Error(fmt.Sprintf(msg, args...)) + w.l.Info(fmt.Sprintf(msg, args...)) } func (w badgerLoggerWrapper) Debugf(msg string, args ...any) { - w.l.Error(fmt.Sprintf(msg, args...)) + w.l.Debug(fmt.Sprintf(msg, args...)) }