Promote reindexing log level

This commit is contained in:
Neil Alexander 2022-09-27 17:30:40 +01:00
parent 34993717fd
commit 083ae01520
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -91,7 +91,7 @@ func (s *OutputClientDataConsumer) Start() error {
return return
} }
ctx := context.Background() ctx := context.Background()
logrus.Debugf("Starting to index events") logrus.Infof("Starting to index events")
var offset int var offset int
start := time.Now() start := time.Now()
count := 0 count := 0
@ -140,7 +140,7 @@ func (s *OutputClientDataConsumer) Start() error {
offset += len(evs) offset += len(evs)
count += len(elements) count += len(elements)
} }
logrus.Debugf("Indexed %d events in %v", count, time.Since(start)) logrus.Infof("Indexed %d events in %v", count, time.Since(start))
}) })
if err != nil { if err != nil {
return err return err