[#xx] writecache: Fix log level for badger writecache #575

Merged
fyrchik merged 1 commit from ale64bit/frostfs-node:fix/badger-wc-logging into master 2023-08-08 08:16:38 +00:00

View file

@ -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...))
}