Merge branch 'datafiles_in_hub' of github.com:crowdsecurity/crowdsec into datafiles_in_hub

This commit is contained in:
alteredCoder 2022-02-04 12:02:16 +01:00
commit f950bd4976

View file

@ -262,7 +262,11 @@ func parser_visit(path string, f os.FileInfo, err error) error {
}
return nil
}
log.Infof("Ignoring file %s of type %s", path, ftype)
if ftype != DATA_FILES {
log.Infof("Ignoring file %s of type %s", path, ftype)
} else {
log.Debugf("Ignoring file %s of type %s", path, ftype)
}
return nil
}