[Test] BackgroundIndexer uses the wrong logger

Closes #6781