diff --git a/.gitignore b/.gitignore index fcdaca12caa..d88f2ca1642 100644 --- a/.gitignore +++ b/.gitignore @@ -106,3 +106,4 @@ config/version.rb bundler_stubs/* vendor/bundle/* +*.db diff --git a/config/initializers/100-logster.rb b/config/initializers/100-logster.rb index e237d6aa75e..be4191583c3 100644 --- a/config/initializers/100-logster.rb +++ b/config/initializers/100-logster.rb @@ -28,11 +28,17 @@ if Rails.env.production? # suppress unconditionally for now /^Can't verify CSRF token authenticity$/, - # 404s can be dealt with elsewise - /^ActiveRecord::RecordNotFound /, + # Yandex bot triggers this JS error a lot + /^Uncaught ReferenceError: I18n is not defined/, + + # related to browser plugins somehow, we don't care + /Error calling method on NPObject/, + + # 404s can be dealt with elsewhere + /^ActiveRecord::RecordNotFound/, # bad asset requested, no need to log - /^ActionController::BadRequest / + /^ActionController::BadRequest/ ] end