Commit 3ba758d1 authored by 赵啸非's avatar 赵啸非

添加蓬溪pom.xml

parent 99a82091
package com.mortals.xhx.base.framework.filter;
import ch.qos.logback.classic.spi.ILoggingEvent;
import ch.qos.logback.core.filter.Filter;
import ch.qos.logback.core.spi.FilterReply;
public class LogFilter extends Filter<ILoggingEvent> {
@Override
public FilterReply decide(ILoggingEvent event) {
if (event.getLoggerName().contains("TaskDaoImpl.getList")) {
return FilterReply.DENY;
}
if(event.getMessage().contains("from mortals_xhx_task as a")){
return FilterReply.DENY;
}
return FilterReply.NEUTRAL;
}
}
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