logging clean up
This commit is contained in:
parent
d136cc4734
commit
2e0b9683f3
1 changed files with 0 additions and 6 deletions
|
@ -89,11 +89,7 @@ func LoadCollection(collection string) (WaapCollection, error) {
|
|||
rule.version = hubWafRuleItem.Version
|
||||
|
||||
log.Infof("Adding %s to waap rules", rule.Name)
|
||||
// if rule.Debug {
|
||||
// log.Infof("Enabling debug for collection %s", rule.Name)
|
||||
|
||||
// //SetRuleDebug(rule.ID, true)
|
||||
// }
|
||||
waapRules[rule.Name] = rule
|
||||
}
|
||||
|
||||
|
@ -108,8 +104,6 @@ func LoadCollection(collection string) (WaapCollection, error) {
|
|||
return WaapCollection{}, fmt.Errorf("no waap rules found for collection %s", collection)
|
||||
}
|
||||
|
||||
log.Infof("Found rule collection %s with %+v", loadedRule.Name, loadedRule)
|
||||
|
||||
waapCol := WaapCollection{
|
||||
collectionName: loadedRule.Name,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue