raft: refactor logging at node level