mirror of https://github.com/tootsuite/mastodon
Disable AMS logging (#7623)
Especially in production it's just noise and doesn't mix well with the log formatpull/7528/head
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