lib/rabbit/publishing.rb in rabbit_messaging-0.6.0 vs lib/rabbit/publishing.rb in rabbit_messaging-0.7.0

- old
+ new

@@ -64,10 +64,10 @@ channel.confirm_select if confirm channel end def log(message) - @logger ||= Logger.new(Rails.root.join("log", "rabbit.log")) + @logger ||= Rabbit.config.publish_logger headers = [ message.real_exchange_name, message.routing_key, message.event, message.confirm_select? ? "confirm" : "no-confirm" ]