From 20c640355d5ba0816026f229882584935771041b Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 27 May 2014 10:27:49 -0400 Subject: [PATCH] Silence avatar logger for sanity --- config/initializers/silence_logger.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/initializers/silence_logger.rb b/config/initializers/silence_logger.rb index 0a0accb6415..954b153cd97 100644 --- a/config/initializers/silence_logger.rb +++ b/config/initializers/silence_logger.rb @@ -17,7 +17,8 @@ class SilenceLogger < Rails::Rack::Logger if env[HTTP_X_SILENCE_LOGGER] || @opts[:silenced].include?(path_info) || - path_info.start_with?('/logs') + path_info.start_with?('/logs') || + path_info.start_with?('/user_avatar') Rails.logger.level = Logger::WARN @app.call(env) else