Fix some bugs
1. Add time stamp
2. Add log parser code