更新
This commit is contained in:
@@ -96,7 +96,7 @@ public class DeviceExecuteLogServiceImpl implements DeviceExecuteLogService {
|
|||||||
public void lmsToAcs(String title, String requestType, String requestParam) {
|
public void lmsToAcs(String title, String requestType, String requestParam) {
|
||||||
try {
|
try {
|
||||||
MDC.put("device_code_log", title);
|
MDC.put("device_code_log", title);
|
||||||
log.error("日志主题:{},请求类型:{},请求参数:{}", title, requestType, requestParam);
|
log.info("日志主题:{},请求类型:{},请求参数:{}", title, requestType, requestParam);
|
||||||
} finally {
|
} finally {
|
||||||
MDC.remove("device_code_log");
|
MDC.remove("device_code_log");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user