瀏覽代碼

Merge pull request #91 from achilleas-k/live

Log filter rule matching
Michael Sonntag 4 年之前
父節點
當前提交
7813fe36c5
共有 1 個文件被更改,包括 1 次插入0 次删除
  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
 		}
 	}