From d87649db074b6b9700246d9488f82071d41fcb60 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 26 May 2018 01:08:31 +0200 Subject: Disable AMS logging (#7623) Especially in production it's just noise and doesn't mix well with the log format --- config/initializers/active_model_serializers.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/initializers/active_model_serializers.rb b/config/initializers/active_model_serializers.rb index b0230267d..0e69e1d96 100644 --- a/config/initializers/active_model_serializers.rb +++ b/config/initializers/active_model_serializers.rb @@ -1,3 +1,5 @@ ActiveModelSerializers.config.tap do |config| config.default_includes = '**' end + +ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT) -- cgit