在一个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] - 异常信息:获取用户信息异常
标签:8085,http,Log,自定义,exec,46,22,aop,nio From: https://www.cnblogs.com/zitjubiz/p/18500069