Skip to content

Commit 15986b4

Browse files
committed
Use proper logger
1 parent 7db4bb7 commit 15986b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/background_tasks/kafka_batch_update_points_task.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def run
4646
RestClient.post("#{@kafka_bridge_url}/api/v0/event", { topic: 'user_course_progress', payload: message }.to_json, { content_type: :json, authorization: "Basic #{@kafka_bridge_secret}" })
4747
end
4848
task.destroy!
49-
puts "Batch publish finished for #{course.name}"
49+
Rails.logger.info "Batch publish finished for #{course.name}"
5050
end
5151
end
5252

0 commit comments

Comments
 (0)