diff --git a/core-services/egov-notification-sms/src/main/java/org/egov/web/notification/sms/consumer/SmsNotificationListener.java b/core-services/egov-notification-sms/src/main/java/org/egov/web/notification/sms/consumer/SmsNotificationListener.java index 53744c66e..2a1bbba68 100644 --- a/core-services/egov-notification-sms/src/main/java/org/egov/web/notification/sms/consumer/SmsNotificationListener.java +++ b/core-services/egov-notification-sms/src/main/java/org/egov/web/notification/sms/consumer/SmsNotificationListener.java @@ -76,11 +76,9 @@ public void process(HashMap consumerRecord) { if (!StringUtils.isEmpty(expiredSmsTopic)) kafkaTemplate.send(expiredSmsTopic, request); } else { - log.info("Call from inside if condition"); smsService.sendSMS(request.toDomain()); } } else { - log.info("Call outside"); smsService.sendSMS(request.toDomain()); } } diff --git a/core-services/egov-notification-sms/src/main/java/org/egov/web/notification/sms/service/BaseSMSService.java b/core-services/egov-notification-sms/src/main/java/org/egov/web/notification/sms/service/BaseSMSService.java index af4e33904..6a5d68310 100644 --- a/core-services/egov-notification-sms/src/main/java/org/egov/web/notification/sms/service/BaseSMSService.java +++ b/core-services/egov-notification-sms/src/main/java/org/egov/web/notification/sms/service/BaseSMSService.java @@ -89,7 +89,6 @@ public void sendSMS(Sms sms) { mobileNumber = mobileNumber.substring(0, 2) + mobileNumber.substring(6); SmsSaveRequest smsSaveRequest = SmsSaveRequest.builder().id(id).mobileNumber(mobileNumber).message(sms.getMessage()) .category(sms.getCategory()).templateId(sms.getTemplateId()).tenantId(sms.getTenantId()).createdtime(System.currentTimeMillis()).build(); - log.info(mobileNumber); producer.push(smsProperties.getSaveSmsTopic(), smsSaveRequest); } submitToExternalSmsService(sms);