在一个controller的方法写了@Log,注解没有产生log,因为是匿名调用,LogAspect 的handleLog出错了

 

src/main/java/com/ktg/framework/aspectj/LogAspect.java

 

17:46:26.628 [http-nio-8085-exec-22] DEBUG c.k.m.l.m.L.deleteLbDetailByMatNo - [debug,137] - ==> Preparing: delete from lb_detail where MatNo = ?
17:46:26.628 [http-nio-8085-exec-22] DEBUG c.k.m.l.m.L.deleteLbDetailByMatNo - [debug,137] - ==> Parameters: 658980(String)
17:46:26.634 [http-nio-8085-exec-22] DEBUG c.k.m.l.m.L.deleteLbDetailByMatNo - [debug,137] - <== Updates: 0
17:46:26.634 [http-nio-8085-exec-22] ERROR c.k.f.a.LogAspect - [handleLog,102] - ==前置通知异常==
17:46:26.634 [http-nio-8085-exec-22] ERROR c.k.f.a.LogAspect - [handleLog,103] - 异常信息:获取用户信息异常

 

 

 

posted on 2024-10-24 18:00  Gu  阅读(48)  评论(0编辑  收藏  举报