Explorar o código

[GIN] Log filter rule matching

Achilleas Koutsou %!s(int64=4) %!d(string=hai) anos
pai
achega
44bd51e647
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)
 		}
 		if match {
+			log.Trace("New user email %q matched filter rule %q (Allow: %t)", email, line, allow)
 			return allow
 		}
 	}