Skip to content

Commit

Permalink
Merge pull request #1648 from Skumring/Change-logging-type-for-Partit…
Browse files Browse the repository at this point in the history
…ion-remove-hook-failed-from-INFO-to-ERROR

Change logging type for Partition remove hook failed from INFO to ERROR
  • Loading branch information
dmitry-sinina authored Dec 10, 2024
2 parents 3f714b6 + ea6b8b7 commit 6a50ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/jobs/jobs/partition_removing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def remove_partition!(partition_class, model_class)
if return_value.success?
logger.info { "Partition remove hook succeed, exit code: #{return_value.exitstatus}" }
else
logger.info { "Partition remove hook failed: #{return_value.exitstatus}. Stopping removing procedure" }
logger.error { "Partition remove hook failed: #{return_value.exitstatus}. Stopping removing procedure" }
collect_prometheus_errors_metric!
return
end
Expand Down

0 comments on commit 6a50ef9

Please sign in to comment.