traceHeadline = "Check heartbeat alert: {{0}}", timer = "check heartbeat alert")
private void checkHeartbeatAlert(String agentId, String agentDisplay,
AlertConfig alertConfig, SmtpConfig smtpConfig) throws Exception {
alertingService.checkHeartbeatAlert(agentId, agentDisplay, alertConfig, false,
smtpConfig);
<BUG>}
private void log(Level level, String format, Object... arguments) {</BUG>
switch (level) {
case ERROR:
logger.error(format, arguments);

traceHeadline = "Check heartbeat alert: {{0}}", timer = "check heartbeat alert")
private void checkHeartbeatAlert(String agentId, String agentDisplay,
AlertConfig alertConfig, SmtpConfig smtpConfig) throws Exception {
alertingService.checkHeartbeatAlert(agentId, agentDisplay, alertConfig, false,
smtpConfig);
}
private String getAgentDisplay(String agentId) {
return agentDao.readAgentRollupDisplay(agentId);
}
private void log(Level level, String format, Object... arguments) {
switch (level) {
case ERROR:
logger.error(format, arguments);
