Skip to content

Commit 641c2ea

Browse files
committed
More logs for the process that sends emails
1 parent 0756184 commit 641c2ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

orcid-scheduler-web/src/main/java/org/orcid/scheduler/email/cli/manager/EmailMessageSenderImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,9 @@ private String encryptAndEncodePutCode(Long putCode) {
298298
@Override
299299
public void sendEmailMessages() {
300300
List<Object[]> orcidsWithUnsentNotifications = new ArrayList<Object[]>();
301+
LOGGER.info("Searching for records with unsent notifications");
301302
orcidsWithUnsentNotifications = notificationDaoReadOnly.findRecordsWithUnsentNotifications();
303+
LOGGER.info("Records with unsent notifications: " + orcidsWithUnsentNotifications.size());
302304

303305
for (final Object[] element : orcidsWithUnsentNotifications) {
304306
String orcid = (String) element[0];

0 commit comments

Comments
 (0)