|
|
@ -185,14 +185,14 @@ public class TraceLoggerAspect {
|
|
|
|
log.info("@@@@@@@@@@@@@@@@@로깅 start : [\n{}\n]",MDC.getCopyOfContextMap());
|
|
|
|
log.info("@@@@@@@@@@@@@@@@@로깅 start : [\n{}\n]",MDC.getCopyOfContextMap());
|
|
|
|
String params = resetJsonMasking(json);
|
|
|
|
String params = resetJsonMasking(json);
|
|
|
|
String systemId = Checks.isNotEmpty(uri)? ApiSystemId.compareByUri(uri).getCode(): ApiSystemId.valueOf("NONE").getCode();
|
|
|
|
String systemId = Checks.isNotEmpty(uri)? ApiSystemId.compareByUri(uri).getCode(): ApiSystemId.valueOf("NONE").getCode();
|
|
|
|
MDC.put("systemId", "ENS");
|
|
|
|
MDC.put("systemId", "MENS-TRAFFIC");
|
|
|
|
MDC.put("reqSystemId", systemId);
|
|
|
|
MDC.put("reqSystemId", systemId);
|
|
|
|
MDC.put("param", params);
|
|
|
|
MDC.put("param", params);
|
|
|
|
MDC.put("accessToken", "");
|
|
|
|
MDC.put("accessToken", "");
|
|
|
|
|
|
|
|
|
|
|
|
LoggingDTO loggingDTO = LoggingDTO.builder()
|
|
|
|
LoggingDTO loggingDTO = LoggingDTO.builder()
|
|
|
|
.requestId(MDC.getCopyOfContextMap().get(REQUEST_TRACE_ID))
|
|
|
|
.requestId(MDC.getCopyOfContextMap().get(REQUEST_TRACE_ID))
|
|
|
|
.systemId("ENS")
|
|
|
|
.systemId("MENS-TRAFFIC")
|
|
|
|
.reqSystemId(systemId)
|
|
|
|
.reqSystemId(systemId)
|
|
|
|
.method(MDC.getCopyOfContextMap().get("method"))
|
|
|
|
.method(MDC.getCopyOfContextMap().get("method"))
|
|
|
|
.uri(MDC.getCopyOfContextMap().get("uri"))
|
|
|
|
.uri(MDC.getCopyOfContextMap().get("uri"))
|
|
|
|