Index and Log

Create index and log