From 562d2e0c864b5b66f15ab632d8778655d711ad89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Wed, 6 Aug 2014 14:50:48 +0200 Subject: [PATCH] TEMP: comment out logster ignore patterns --- config/initializers/logster.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config/initializers/logster.rb b/config/initializers/logster.rb index 9176d258a0d..eeb63381969 100644 --- a/config/initializers/logster.rb +++ b/config/initializers/logster.rb @@ -1,13 +1,13 @@ if Rails.env.production? - Logster.store.ignore = [ - # honestly, Rails should not be logging this, its real noisy - /^ActionController::RoutingError \(No route matches/, + # Logster.store.ignore = [ + # # honestly, Rails should not be logging this, its real noisy + # /^ActionController::RoutingError \(No route matches/, - /^PG::Error: ERROR:\s+duplicate key/, + # /^PG::Error: ERROR:\s+duplicate key/, - # suppress trackback spam bots - Logster::IgnorePattern.new("Can't verify CSRF token authenticity", { REQUEST_URI: /\/trackback\/$/ }) - ] + # # 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)