Disable AMS logging (#7623)

Especially in production it's just noise and doesn't mix well with the log format
lolsob-rspec
Eugen Rochko 2018-05-26 01:08:31 +02:00 committed by GitHub
parent a1db299d79
commit b416ba6692
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)