From 3840c50083571abc2cf8d3c5ba76ea4503e83b7e Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 4 Sep 2017 18:03:45 +0800 Subject: [PATCH] Fix logster not ignoring CSRF warnings. --- config/initializers/100-logster.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/100-logster.rb b/config/initializers/100-logster.rb index c2b96e10c8e..0818cfb3950 100644 --- a/config/initializers/100-logster.rb +++ b/config/initializers/100-logster.rb @@ -20,7 +20,7 @@ if Rails.env.production? # CSRF errors are not providing enough data # suppress unconditionally for now - /^Can't verify CSRF token authenticity$/, + /^Can't verify CSRF token authenticity.$/, # Yandex bot triggers this JS error a lot /^Uncaught ReferenceError: I18n is not defined/,