better logging for indexing
fixes #749
Merge pull request #750 from vladak/hist_logmsgs

better logging for indexing