Disable AMS logging (#7623)
Especially in production it's just noise and doesn't mix well with the log formatmain
parent
c7ac039697
commit
d87649db07
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue