Github user mjwall commented on a diff in the pull request:
https://github.com/apache/accumulo/pull/207#discussion_r98432589
--- Diff:
server/monitor/src/main/java/org/apache/accumulo/monitor/Monitor.java ---
@@ -642,7 +643,7 @@ private void getMonitorLock() throws KeeperException,
InterruptedException {
UtilWaitThread.sleep(getContext().getConfiguration().getTimeInMillis(Property.MONITOR_LOCK_CHECK_INTERVAL));
}
- log.info("Got Monitor lock.");
+ log.info("Acquired Monitor Lock " + monitorLock.getLockPath());
--- End diff --
@lstav check out https://www.slf4j.org/faq.html#logging_performance. It's
better because the string concatenation doesn't happen if the logger is not
going to output.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---