mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Promote reindexing log level
This commit is contained in:
parent
34993717fd
commit
083ae01520
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue