Disable AMS logging (#7623)

Especially in production it's just noise and doesn't mix well with the log format
pull/7528/head
Eugen Rochko 2018-05-26 01:08:31 +02:00 committed by GitHub
parent c7ac039697
commit d87649db07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,5 @@
ActiveModelSerializers.config.tap do |config| ActiveModelSerializers.config.tap do |config|
config.default_includes = '**' config.default_includes = '**'
end end
ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT)