From ab98c4a664f26077e5b3c90ea6bcbe129ec2d0b9 Mon Sep 17 00:00:00 2001 From: MSathieu Date: Sun, 22 Jan 2017 13:14:19 +0100 Subject: [PATCH] Update logging.md --- docs/general/logging.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/general/logging.md b/docs/general/logging.md index 1a2de800..321bf5d8 100644 --- a/docs/general/logging.md +++ b/docs/general/logging.md @@ -16,5 +16,6 @@ ActiveModelSerializers.logger = Logger.new(STDOUT) You can also disable the logger, just put this in `config/initializers/active_model_serializers.rb`: ```ruby +require 'active_model_serializers' ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT) ```