Authored by zhengyouwei

add log

... ... @@ -78,7 +78,9 @@ public class AlarmMsgServiceImpl implements AlarmMsgService {
public boolean sendSms(String type, String content, String alarmInfo, String mobile) {
String open = zookeeperService.getData("ops.sendsms.open");
if (!"true".equals(open)){
logger.info("Send msg type {} content {} alarmInfo {} moniole {}...refused open {}", type, content, alarmInfo, mobile,open);
return false;
}
... ...
... ... @@ -77,6 +77,7 @@ public class VoiceMsgServiceImpl implements VoiceMsgService {
String open = zookeeperService.getData("ops.sendsms.open");
if (!"true".equals(open)){
DEBUG.info("send voice notice msg,content {}moniole {}...refused open {}", content,mobile,open);
return ;
}
... ...