New Function #282
closed[ADMIN/API] 로그(log)
Description
[API] PGPaymentService
1.processPayConfirm()
- currently, success/fail log is created
2.processCancelPayment()
- leave success/fail log like processPayConfirm()
1) success
log.info("[PG cancel API] success - paymentKey: " + paymentKey +
", orderId: " + orderId);
2) fail
log.error("[PG cancel API] fail - paymentKey: " + paymentKey
+ ", orderId: " + orderId +
", error code: " + pgPaymentResult.getCode() +
", error message: " + pgPaymentResult.getMessage());
[ADMIN] PGPaymentService
1.processPayConfirm()
processCancelPayment()
- leave success/fail log like [API]
[ADMIN/API] sendPushMessage()
1.REMOVE
log.info("user push rcv buy={}", user.getPushRcvBuy());
2.change log
1) As-is
- log.info("send push...");
2) To-be
- log.info("[Send Push] : pushType=buy, targetUserSeq={user_seq}, orderNo={orderNo}, smartOrderStatus={smartOrderStatus}"
Updated by Deca Park about 1 year ago
[API] logApi() - common
1.As-is (log ex)
- 2023-12-20 16:36:52,022 INFO [com.stoneitgt.user.controller.BaseController] [API] PUT /api/agent/store_order_status_new success : order_no: 231220163623VLCD, smart_order_status: SS10
2.To-be
- when log is created, real controller name should be set (not BaseController)
Updated by bryant bryant about 1 year ago
- Status changed from New to Resolved
- Assignee changed from bryant bryant to Deca Park
Updated by Deca Park about 1 year ago
- Description updated (diff)
- Status changed from Resolved to New
- Assignee changed from Deca Park to bryant bryant
Updated by Deca Park about 1 year ago
- Status changed from New to Closed
- Assignee changed from bryant bryant to Deca Park