Issue-ID: LOG-1212
Change-Id: I7e53fd4c5887351b4b7f0fd8da1e4ae28cd2284a
Signed-off-by: Brittany Plummer (bp896r) <bp896r@att.com>
}
}
setServerFQDN();
+ setLogTimestamp();
+ setElapsedTimeInvokeTimestamp();
}
protected String extractRequestID() {
String requestId = MDC.get(ONAPLogConstants.MDCs.REQUEST_ID);
if (requestId == null || requestId.isEmpty()) {
requestId = UUID.randomUUID().toString();
- setLogTimestamp();
- setElapsedTimeInvokeTimestamp();
logger.trace("No value found in MDC when checking key {} value will be set to {}",
ONAPLogConstants.MDCs.REQUEST_ID, requestId);
MDC.put(ONAPLogConstants.MDCs.REQUEST_ID, requestId);