Skip to content
babybeasimple edited this page Sep 12, 2014 · 5 revisions

Octopus has a default logger, that it's useful to see to what shard the query was sent. To enable it, create a new file called octopus.rb in the config/initializers folder with the following content:

ActiveRecord::Base.logger = Rails.logger
Clone this wiki locally