Browse Source

[GIN] Log filter rule matching

Achilleas Koutsou 4 năm trước cách đây
mục cha
commit
d41648b89c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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)
 			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
 		}
 		}
 	}
 	}