better log

This commit is contained in:
alex.sharov 2021-10-13 09:01:43 +07:00
parent 9eae3ce63a
commit bffb89e65a

View File

@ -269,7 +269,7 @@ func loadFilesIntoBucket(logPrefix string, db kv.RwTx, bucket string, bufType in
runtime.ReadMemStats(&m) runtime.ReadMemStats(&m)
log.Debug( log.Debug(
fmt.Sprintf("[%s] Committed batch", logPrefix), fmt.Sprintf("[%s] ETL Load done", logPrefix),
"bucket", bucket, "bucket", bucket,
"records", i, "records", i,
"current key", makeCurrentKeyStr(nil), "current key", makeCurrentKeyStr(nil),