lib/td/logger/agent/rails.rb in td-logger-0.2.2 vs lib/td/logger/agent/rails.rb in td-logger-0.2.3

- old
+ new

@@ -83,10 +83,10 @@ end def self.read_config(rails) require 'yaml' require 'erb' - logger = ::Rails.logger || ::Logger.new(STDOUT) + logger = ::Rails.logger || ::Logger.new(STDERR) begin src = File.read("#{rails_root}/#{CONFIG_PATH}") yaml = ERB.new(src).result env_conf = YAML.load(yaml) rescue