etl: to preserve log level

This commit is contained in:
alex.sharov 2023-03-09 15:02:19 +07:00
parent c48bbde775
commit 219e7ef87d

View File

@ -192,7 +192,7 @@ func (c *Collector) Load(db kv.RwTx, toBucket string, loadFunc LoadFunc, args Tr
logArs = append(logArs, "current_prefix", makeCurrentKeyStr(k))
}
log.Info(fmt.Sprintf("[%s] ETL [2/2] Loading", c.logPrefix), logArs...)
log.Log(c.logLvl, fmt.Sprintf("[%s] ETL [2/2] Loading", c.logPrefix), logArs...)
}
isNil := (c.bufType == SortableSliceBuffer && v == nil) ||