add log indexer
fix Makefile