Removed debuggin methods.
Added log method to RaftConsensus.