Commit 7daa9d56 authored by duanruiming's avatar duanruiming

[update] 日志处理注解,防止内存泄漏

parent 5ef909cf
...@@ -111,6 +111,8 @@ public class LogAspectHandler { ...@@ -111,6 +111,8 @@ public class LogAspectHandler {
} catch (Exception e) { } catch (Exception e) {
//记录本地异常日志 //记录本地异常日志
log.error("记录本地接口响应日志异常,异常信息:", e); log.error("记录本地接口响应日志异常,异常信息:", e);
} finally {
TIME_THREADLOCAL.remove();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment