raft: better logging for leader transition