Sfoglia il codice sorgente

[GIN] Log filter rule matching

Achilleas Koutsou 4 anni fa
parent
commit
d41648b89c
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      internal/db/db_gin.go

+ 1 - 0
internal/db/db_gin.go

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