Commit 4fb7598b authored by yanzg's avatar yanzg

常规BUG的修改

parent 8806a540
...@@ -42,10 +42,10 @@ public class BaseRequestAspect implements ThreadNext.Next { ...@@ -42,10 +42,10 @@ public class BaseRequestAspect implements ThreadNext.Next {
@Value("${yzg.reqSize:5000}") @Value("${yzg.reqSize:5000}")
private int reqSize; private int reqSize;
@Value("${yzg.log.notFilter:login}") @Value("${yzg.log.notFilter:^.*login.*$}")
private String notFilter; private String notFilter;
@Value("${yzg.log.filter:log}") @Value("${yzg.log.filter:^.*log.*$}")
private String filter; private String filter;
@Autowired @Autowired
...@@ -201,8 +201,8 @@ public class BaseRequestAspect implements ThreadNext.Next { ...@@ -201,8 +201,8 @@ public class BaseRequestAspect implements ThreadNext.Next {
* @return * @return
*/ */
private boolean isLog(String name, String url) { private boolean isLog(String name, String url) {
boolean notFilter = applicationName.matches(filter) || name.matches(filter) || url.matches(filter); boolean noFilter = applicationName.matches(notFilter) || name.matches(notFilter) || url.matches(notFilter);
if (notFilter) { if (noFilter) {
return false; return false;
} }
......
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