added logging for indexer