FimsLogFilter 수정

main
mjkhan21 9 months ago
parent 656c020c7e
commit 680199ab94

@ -0,0 +1,21 @@
package cokr.xit.fims;
import org.springframework.stereotype.Component;
import cokr.xit.base.syslog.ServiceLog;
import cokr.xit.base.syslog.service.bean.LogFilter;
/**FIMS
* @author mjkhan
*/
@Component("logFilter")
public class FimsLogFilter extends LogFilter {
@Override
protected boolean customFilter(ServiceLog log) {
switch (log.getType()) {
case ServiceLog.LOG_INOUT:
case ServiceLog.DOWNLOAD: return true;
default: return false;
}
}
}
Loading…
Cancel
Save