put rails logging through the app logger

This commit is contained in:
Adam Cooke
2017-05-18 11:47:59 +01:00
parent 76e1f6e9f7
commit 73b4edd92e
+3
View File
@@ -14,6 +14,9 @@ Bundler.require(*Rails.groups)
module Postal
class Application < Rails::Application
# Set the Rails logger
config.logger = Postal.logger_for(:rails)
# Disable most generators
config.generators do |g|
g.orm :active_record