Explorar o código

Merge pull request #91 from achilleas-k/live

Log filter rule matching
Michael Sonntag %!s(int64=4) %!d(string=hai) anos
pai
achega
7813fe36c5
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

@@ -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
 		}
 	}