Skip to content

Commit

Permalink
Remove temporary info logs about PubSub metrics (#15521)
Browse files Browse the repository at this point in the history
  • Loading branch information
esloho authored Mar 6, 2020
1 parent 9db8807 commit cdf8170
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/carto/tracking/services/pubsub_tracker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ def send_event(topic_key, user_id, event, properties = {})

result = topic.publish(event, attributes)

if result
CartoDB::Logger.info(message: "PubSubTracker: event #{event} published to #{topic.name}")
else
unless result
CartoDB::Logger.error(message: "PubSubTracker: error publishing to topic #{topic.name} for event #{event}")
end

Expand Down

0 comments on commit cdf8170

Please sign in to comment.