}
private void setResponseDescription(String responseDesc) {
- MDC.put(RESPONSE_DESCRIPTION, responseDesc);
+ MDC.put(RESPONSE_DESCRIPTION, formatString(responseDesc));
}
public String getInstanceUUID() {
for (SvcLogicGraph graph : graphs) {
- String module = graph.getModule();
- String rpc = graph.getRpc();
- String version = graph.getVersion();
- String mode = graph.getMode();
try {
- LOGGER.info("Saving SvcLogicGraph to database (module:{},rpc:{},mode:{},version:{})", module, rpc, mode,
- version);
+ LOGGER.info("Saving " + graph.toString() + " to database.");
store.store(graph);
} catch (Exception e) {
throw new SvcLogicException(e.getMessage(), e);