lib/voltron/config.rb in voltron-0.3.1 vs lib/voltron/config.rb in voltron-0.3.2
- old
+ new
@@ -12,10 +12,10 @@
attr_accessor :logger, :debug, :log_level
attr_writer :base_url
def initialize
- @logger ||= ::Logger.new(::Rails.root.join('log', 'voltron.log'))
+ @logger ||= Rails.logger
@debug ||= false
@log_level ||= Rails.application.config.log_level
@base_url ||= (Rails.application.config.action_controller.default_url_options.try(:[], :host) || 'http://localhost:3000')
end