aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-process-monitor
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-09-12 12:18:30 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-09-12 12:18:30 +0200
commit8f9cbb8dbaaa364931a5c3cdc2fbc5ccc076c02b (patch)
tree5e9a7950fccc63b8fc56aa2f9759086dfd80e1c7 /server/sonar-process-monitor
parentbda94bc8f7e26da995a56418cbe55f422b1396b3 (diff)
downloadsonarqube-8f9cbb8dbaaa364931a5c3cdc2fbc5ccc076c02b.tar.gz
sonarqube-8f9cbb8dbaaa364931a5c3cdc2fbc5ccc076c02b.zip
SONAR-4898 add debug log
Diffstat (limited to 'server/sonar-process-monitor')
-rw-r--r--server/sonar-process-monitor/src/main/java/org/sonar/process/monitor/Monitor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-process-monitor/src/main/java/org/sonar/process/monitor/Monitor.java b/server/sonar-process-monitor/src/main/java/org/sonar/process/monitor/Monitor.java
index ccf2af343dc..5a59a11df74 100644
--- a/server/sonar-process-monitor/src/main/java/org/sonar/process/monitor/Monitor.java
+++ b/server/sonar-process-monitor/src/main/java/org/sonar/process/monitor/Monitor.java
@@ -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);