Disable AMS logging (#7623)

Especially in production it's just noise and doesn't mix well with the log format
master
Eugen Rochko 7 years ago committed by GitHub
parent c7ac039697
commit d87649db07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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)

Loading…
Cancel
Save