log check to avoid reindexing too often