Server monitorServer = prov.get(ServerBy.NAME, monitorHost);
Server monitorServer = prov.get(ServerBy.name, monitorHost);
	public Element handle(Element request, Map<String, Object> context) throws SoapFaultException, ServiceException {        ZimbraSoapContext lc = getZimbraSoapContext(context);        // this command can only execute on the monitor host, so proxy if necessary        Provisioning prov = Provisioning.getInstance();        String monitorHost = prov.getConfig().getAttr(Provisioning.A_zimbraLogHostname);        if (monitorHost == null || monitorHost.trim().equals(""))            throw ServiceException.FAILURE("zimbraLogHostname is not configured", null);        Server monitorServer = prov.get(ServerBy.NAME, monitorHost);        if (monitorServer == null)            throw ServiceException.FAILURE("could not find zimbraLogHostname server: " + monitorServer, null);        if (!prov.getLocalServer().getId().equalsIgnoreCase(monitorServer.getId()))            return proxyRequest(request, context, monitorServer, new ZimbraSoapContext(lc, lc.getRequestedAccountId()));        Element response = lc.createElement(AdminService.GET_SERVICE_STATUS_RESPONSE);        boolean loggerEnabled = false;        Server local = prov.getLocalServer();        String[] services = local.getMultiAttr(Provisioning.A_zimbraServiceEnabled);        if (services != null) {            for (int i = 0; i < services.length; i++) {                if ("logger".equals(services[i])) {                    loggerEnabled = true;                    break;                }            }        }        if (loggerEnabled) {    	    Connection conn = null;            try {                 conn = DbPool.getLoggerConnection();                List stats = DbServiceStatus.getStatus(conn.getConnection());                doServiceStatus(response, stats);                        } finally {                DbPool.quietClose(conn);            }        }	    return response;	}