mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-25 21:21:35 +00:00
Promote reindexing log level
This commit is contained in:
parent
34993717fd
commit
083ae01520
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user