diff --git a/lib/aws/sns/configurator/publisher.rb b/lib/aws/sns/configurator/publisher.rb index d1dd5bc..a3e1242 100644 --- a/lib/aws/sns/configurator/publisher.rb +++ b/lib/aws/sns/configurator/publisher.rb @@ -19,7 +19,7 @@ def publish! private def log - Logger.info("Message published: #{@endpoint} -> #{@topic.name_formatted} - #{@topic.region}") + Logger.debug("Message published: #{@endpoint} -> #{@topic.name_formatted} - #{@topic.region}") end def build_topic(topic) diff --git a/lib/turtle/event_notificator/notification.rb b/lib/turtle/event_notificator/notification.rb index ff0b79b..11ac2e3 100644 --- a/lib/turtle/event_notificator/notification.rb +++ b/lib/turtle/event_notificator/notification.rb @@ -14,7 +14,7 @@ def initialize(event) end def publish!(payload, options) - Logger.info("[Event Notification] Model: #{options[:model]} Event: #{@event}") + Logger.debug("[Event Notification] Model: #{options[:model]} Event: #{@event}") Turtle.publish!(topic_options(options), payload, publish_options(options)) end diff --git a/lib/turtle/queue.rb b/lib/turtle/queue.rb index 3c54ac6..1b14707 100644 --- a/lib/turtle/queue.rb +++ b/lib/turtle/queue.rb @@ -18,7 +18,7 @@ def delayed_job_queue_attributes def enqueue!(worker, data, options) initial = Time.now publish!(worker, envelope(data, options), options).tap do - Logger.info(enqueued_log_message(worker, options, Time.now - initial)) + Logger.debug(enqueued_log_message(worker, options, Time.now - initial)) end end diff --git a/lib/turtle/topic.rb b/lib/turtle/topic.rb index b4f7d5c..edb4050 100644 --- a/lib/turtle/topic.rb +++ b/lib/turtle/topic.rb @@ -14,7 +14,7 @@ def delayed_job_queue_attributes def publish!(topic, data, options) initial = Time.now notify!(topic, envelope(data, options), options).tap do - Logger.info(enqueued_log_message(topic, options, Time.now - initial)) + Logger.debug(enqueued_log_message(topic, options, Time.now - initial)) end end