REQ-3201: 记录请求
This commit is contained in:
parent
3a602139b6
commit
493e0603d7
@ -71,7 +71,6 @@ public class CardLoggers {
|
|||||||
log.setBatchNo(requestContext.getBatchNo());
|
log.setBatchNo(requestContext.getBatchNo());
|
||||||
log.setCardContent(card.getCardContent());
|
log.setCardContent(card.getCardContent());
|
||||||
log.setError(exception == null ? "" : Throwables.getStackTraceAsString(exception));
|
log.setError(exception == null ? "" : Throwables.getStackTraceAsString(exception));
|
||||||
log.addLogContent("request", requestContext.getRequest());
|
|
||||||
log.addLogContent("isCardDelete", card.getIsDelete());
|
log.addLogContent("isCardDelete", card.getIsDelete());
|
||||||
for (Map.Entry<String, Object> entry : requestContext.getLogContents().entrySet())
|
for (Map.Entry<String, Object> entry : requestContext.getLogContents().entrySet())
|
||||||
log.addLogContent(entry.getKey(), entry.getValue());
|
log.addLogContent(entry.getKey(), entry.getValue());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user