Commit 4fb7598b authored by yanzg's avatar yanzg

常规BUG的修改

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