Browse Source
Disable AMS logging (#7623)
Especially in production it's just noise and doesn't mix well with the log format
pull/4/head
Eugen Rochko
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
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) |