diff --git a/docs/general/logging.md b/docs/general/logging.md index 306bfd50..9fba8c28 100644 --- a/docs/general/logging.md +++ b/docs/general/logging.md @@ -12,3 +12,9 @@ You may customize the logger in an initializer, for example: ```ruby ActiveModelSerializers.logger = Logger.new(STDOUT) ``` + +You can also disable the logger, just put this in `config/application.rb`: + +```ruby +ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT) +```