log more information on state transition
add rejected term detail to log
log size before, after compaction
fix next log index after replication failure
log exception thrown during init after transition