JSONObject jsonResp = new JSONObject();
Log log = new Log(appName, logName);
log.setContents(response);
log.setLocation(new URI(baseRequestLocation));
jsonResp.put(instanceNo, log.toJSON());
return new ServerStatus(Status.OK_STATUS, HttpServletResponse.SC_OK, jsonResp);
} catch (Exception e) {
String msg = NLS.bind("An error occured when performing operation {0}", commandName); //$NON-NLS-1$
logger.error(msg, e);