Skip to content

Commit

Permalink
Use warn log level for migration (#588)
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines authored Jan 19, 2024
1 parent 475fc04 commit 92d48d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ def up
num_fixed_users += 1 if has_flag_changed
end

Rails.logger.debug { "Ran through #{User.count} users (unread comments flag)" }
Rails.logger.debug { "Fixed #{num_fixed_users} users (unread comments flag)" }
Rails.logger.warn { "Ran through #{User.count} users (unread comments flag)" }
Rails.logger.warn { "Fixed #{num_fixed_users} users (unread comments flag)" }
end

# Checks and returns whether the user has unread comments.
Expand Down

0 comments on commit 92d48d4

Please sign in to comment.