raft: logging state change events and events on bad path
Merge pull request #1823 from xiang90/raft_log

raft: logging state change events and events on bad path