better logging for indexing

fixes #749