From 3d44bfcf2880f7b2a5d2ad0f4262397bfbfef01a Mon Sep 17 00:00:00 2001 From: MSathieu Date: Tue, 17 Jan 2017 18:21:21 +0100 Subject: [PATCH] Update logging.md --- docs/general/logging.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/general/logging.md b/docs/general/logging.md index 9fba8c28..1a2de800 100644 --- a/docs/general/logging.md +++ b/docs/general/logging.md @@ -13,7 +13,7 @@ You may customize the logger in an initializer, for example: ActiveModelSerializers.logger = Logger.new(STDOUT) ``` -You can also disable the logger, just put this in `config/application.rb`: +You can also disable the logger, just put this in `config/initializers/active_model_serializers.rb`: ```ruby ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT)