* Read the host and port information for the Monitor's log4j socket and update the system properties so that, on logger refresh, it sees the new information.
*/
protected void updateMonitorLog4jLocation() {
try {
String hostPortString = new String(ZooReaderWriter.getInstance().getData(path, null), Constants.UTF8);
HostAndPort hostAndPort = HostAndPort.fromString(hostPortString);
System.setProperty(HOST_PROPERTY_NAME, hostAndPort.getHostText());
System.setProperty(PORT_PROPERTY_NAME, Integer.toString(hostAndPort.getPort()));
log.info("Changing monitor log4j address to " + hostAndPort.toString());
doOnChange();
} catch (NoNodeException e) {
// Not sure on the synchronization guarantees for Loggers and Appenders
// on configuration reload