Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/aws/sns/configurator/publisher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/turtle/event_notificator/notification.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/turtle/queue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/turtle/topic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down