Skip to content

Commit 3d44bfc

Browse files
authored
Update logging.md
1 parent 68f8ebe commit 3d44bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/general/logging.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You may customize the logger in an initializer, for example:
1313
ActiveModelSerializers.logger = Logger.new(STDOUT)
1414
```
1515

16-
You can also disable the logger, just put this in `config/application.rb`:
16+
You can also disable the logger, just put this in `config/initializers/active_model_serializers.rb`:
1717

1818
```ruby
1919
ActiveSupport::Notifications.unsubscribe(ActiveModelSerializers::Logging::RENDER_EVENT)

0 commit comments

Comments
 (0)