Przeglądaj źródła

[GIN] Log filter rule matching

Achilleas Koutsou 4 lat temu
rodzic
commit
44bd51e647
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      internal/db/db_gin.go

+ 1 - 0
internal/db/db_gin.go

@@ -220,6 +220,7 @@ func isAddressAllowed(email string) bool {
 			log.Error(2, "Invalid pattern: %v", err)
 			log.Error(2, "Invalid pattern: %v", err)
 		}
 		}
 		if match {
 		if match {
+			log.Trace("New user email %q matched filter rule %q (Allow: %t)", email, line, allow)
 			return allow
 			return allow
 		}
 		}
 	}
 	}