aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2012-12-03 17:35:13 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2012-12-03 18:24:02 +0100
commite512e8600c652ac7703750d54350846dd32dc816 (patch)
treecce83e5bf12a03023ac6d5c4c1e4914b8e299652 /sonar-batch
parent9e6d221047e1a2d4076e285da63993ead0920884 (diff)
downloadsonarqube-e512e8600c652ac7703750d54350846dd32dc816.tar.gz
sonarqube-e512e8600c652ac7703750d54350846dd32dc816.zip
SONAR-3306 minor improvement on logs
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/bootstrap/CheckSemaphore.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/CheckSemaphore.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/CheckSemaphore.java
index c3f7a6086e4..7ea91681fe3 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/CheckSemaphore.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/CheckSemaphore.java
@@ -70,7 +70,7 @@ public class CheckSemaphore {
}
private Lock acquire() {
- LOG.debug("Acquire semaphore on project : {}", getProject());
+ LOG.debug("Acquire semaphore on project : {}, with key {}", getProject(), getSemaphoreKey());
if (!isForceAnalyseActivated()) {
return semaphoreDao.acquire(getSemaphoreKey());
} else {
@@ -79,7 +79,7 @@ public class CheckSemaphore {
}
private void release() {
- LOG.debug("Release semaphore on project : {}", getProject());
+ LOG.debug("Release semaphore on project : {}, with key {}", getProject(), getSemaphoreKey());
semaphoreDao.release(getSemaphoreKey());
}