From 3f24e18df0e8b576375f3a6e4c1df45be457e8e9 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 27 May 2015 13:46:15 +1000 Subject: [PATCH] stop logging badrequest, its just bad urls entered --- config/initializers/logster.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/initializers/logster.rb b/config/initializers/logster.rb index 786b4bf9877..da61432018c 100644 --- a/config/initializers/logster.rb +++ b/config/initializers/logster.rb @@ -25,7 +25,10 @@ if Rails.env.production? /^Can't verify CSRF token authenticity$/, # 404s can be dealt with elsewise - /^ActiveRecord::RecordNotFound / + /^ActiveRecord::RecordNotFound /, + + # bad asset requested, no need to log + /^ActionController::BadRequest / ] end