changes logging levels

This commit is contained in:
2022-03-21 17:51:25 -05:00
parent 7349960421
commit 21193b4faa
2 changed files with 3 additions and 2 deletions

View File

@ -38,7 +38,8 @@ func cleanBadDomains(domains []string) []string {
// remove allow-listed matches
total = len(domains)
for _, allowedItem := range config.Config.AllowLists {
for i, allowedItem := range config.Config.AllowLists {
log.Printf("[DEBUG] Processing %d of %d\n", i+1, len(config.Config.AllowLists))
for k, v := range domains {
r, err := regexp.Compile(allowedItem)
if err != nil {