if (elections.getRepImpl() != null) {
logger = LoggerUtils.getLogger(getClass());
} else {
logger = LoggerUtils.getLoggerFormatterNeeded(getClass());
}
formatter = new ReplicationFormatter(nameIdPair);
statistics = new StatGroup(ProposerStatDefinition.GROUP_NAME,
ProposerStatDefinition.GROUP_DESC);
phase1NoQuorum = new IntStat(statistics, PHASE1_NO_QUORUM);
phase1NoNonZeroPrio = new IntStat(statistics, PHASE1_NO_NON_ZERO_PRIO);