From 219e7ef87d5912c07b8e48b6d173590932aec82b Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Thu, 9 Mar 2023 15:02:19 +0700 Subject: [PATCH] etl: to preserve log level --- etl/collector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etl/collector.go b/etl/collector.go index 9a7c8d8ce..0c3144c62 100644 --- a/etl/collector.go +++ b/etl/collector.go @@ -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) ||