]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4898 add debug log
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 12 Sep 2014 10:18:30 +0000 (12:18 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 12 Sep 2014 10:18:30 +0000 (12:18 +0200)
server/sonar-process-monitor/src/main/java/org/sonar/process/monitor/Monitor.java

index ccf2af343dc5b9590e6aede43385ba6eccedacd0..5a59a11df74004b4ff707c3abbb791a5acbdeee9 100644 (file)
@@ -128,7 +128,7 @@ public class Monitor {
       try {
         ready = jmxConnector.isReady(processRef);
       } catch (Exception ignored) {
-        // pb with the JMX connection, can occur if RMI not initialized yet
+        LoggerFactory.getLogger(getClass()).error("Fail to request JMX (isReady)", ignored);
       }
       try {
         Thread.sleep(300L);