From 1c25f00615b42142d2e61b49cca8f30a95264672 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 29 Jul 2014 12:47:26 +1000 Subject: [PATCH] Fix build --- config/initializers/logster.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/initializers/logster.rb b/config/initializers/logster.rb index 13ad568ee74..633dffaf064 100644 --- a/config/initializers/logster.rb +++ b/config/initializers/logster.rb @@ -1,10 +1,10 @@ if Rails.env.production? - Logster.store.ignore = [ - # honestly, Rails should not be logging this, its real noisy - /^ActionController::RoutingError \(No route matches/, - # suppress trackback spam bots - Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ }) - ] + # Logster.store.ignore = [ + # # honestly, Rails should not be logging this, its real noisy + # /^ActionController::RoutingError \(No route matches/, + # # suppress trackback spam bots + # Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ }) + # ] Logster.config.authorize_callback = lambda{|env| user = CurrentUser.lookup_from_env(env)