airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject airavata git commit: add log message to print num of jobs in job monitor map
Date Mon, 27 Apr 2015 20:53:14 GMT
Repository: airavata
Updated Branches:
  refs/heads/master 71c83a198 -> 1fba5f95c


add log message to print num of jobs in job monitor map


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/1fba5f95
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/1fba5f95
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/1fba5f95

Branch: refs/heads/master
Commit: 1fba5f95c369744b63f9e3fbbae4b3669b088b0e
Parents: 71c83a1
Author: shamrath <shameerainfo@gmail.com>
Authored: Mon Apr 27 16:53:10 2015 -0400
Committer: shamrath <shameerainfo@gmail.com>
Committed: Mon Apr 27 16:53:10 2015 -0400

----------------------------------------------------------------------
 .../apache/airavata/gfac/monitor/email/EmailBasedMonitor.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/1fba5f95/modules/gfac/gfac-monitor/gfac-email-monitor/src/main/java/org/apache/airavata/gfac/monitor/email/EmailBasedMonitor.java
----------------------------------------------------------------------
diff --git a/modules/gfac/gfac-monitor/gfac-email-monitor/src/main/java/org/apache/airavata/gfac/monitor/email/EmailBasedMonitor.java
b/modules/gfac/gfac-monitor/gfac-email-monitor/src/main/java/org/apache/airavata/gfac/monitor/email/EmailBasedMonitor.java
index 9c010bb..4f64490 100644
--- a/modules/gfac/gfac-monitor/gfac-email-monitor/src/main/java/org/apache/airavata/gfac/monitor/email/EmailBasedMonitor.java
+++ b/modules/gfac/gfac-monitor/gfac-email-monitor/src/main/java/org/apache/airavata/gfac/monitor/email/EmailBasedMonitor.java
@@ -166,8 +166,10 @@ public class EmailBasedMonitor implements Runnable{
             while (!(stopMonitoring || ServerSettings.isStopAllThreads())) {
                 Thread.sleep(ServerSettings.getEmailMonitorPeriod());// sleep a bit - get
a rest till job finishes
                 if (jobMonitorMap.isEmpty()) {
-                    log.info("[ELM]: Job Monitor Map is empty, no need to retrieve emails");
+                    log.info("[EJM]: Job Monitor Map is empty, no need to retrieve emails");
                     continue;
+                } else {
+                    log.info("[EJM]: " + jobMonitorMap.size() + " job/s in job monitor map");
                 }
                 if (!store.isConnected()) {
                     store.connect();


Mime
View raw message