aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/onap/music/eelf/healthcheck/MusicHealthCheck.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/music/eelf/healthcheck/MusicHealthCheck.java b/src/main/java/org/onap/music/eelf/healthcheck/MusicHealthCheck.java
index af6e6151..837e37c2 100644
--- a/src/main/java/org/onap/music/eelf/healthcheck/MusicHealthCheck.java
+++ b/src/main/java/org/onap/music/eelf/healthcheck/MusicHealthCheck.java
@@ -87,7 +87,7 @@ public class MusicHealthCheck {
pQuery.appendQueryString("insert into admin.healthcheck (id) values (?)");
pQuery.addValue(UUID.randomUUID());
ResultType rs = MusicCore.nonKeyRelatedPut(pQuery, consistency);
- System.out.println(rs);
+ logger.info(rs.toString());
if (rs != null) {
return Boolean.TRUE;
} else {
@@ -119,7 +119,7 @@ public class MusicHealthCheck {
String host = MusicUtil.getMyZkHost();
logger.info(EELFLoggerDelegate.applicationLogger, "Getting Status for Zookeeper Host: " + host);
try {
- MusicLockingService lockingService = MusicCore.getLockingServiceHandle();
+ MusicCore.getLockingServiceHandle();
// additionally need to call the ZK to create,aquire and delete lock
} catch (MusicLockingException e) {
logger.error(EELFLoggerDelegate.errorLogger, e.getMessage(), AppMessages.LOCKINGERROR,