Commit 156561fc authored by Peter Leitzen's avatar Peter Leitzen

Merge branch 'rails-logger-cop-14' into 'master'

Use applogger in update stats service

See merge request gitlab-org/gitlab!32200
parents 40d009e9 b3910533
......@@ -5,7 +5,7 @@ module Projects
def execute
return unless project
Rails.logger.info("Updating statistics for project #{project.id}") # rubocop:disable Gitlab/RailsLogger
Gitlab::AppLogger.info("Updating statistics for project #{project.id}")
project.statistics.refresh!(only: statistics.map(&:to_sym))
end
......
---
title: Use applogger in update stats service
merge_request: 32200
author: Rajendra Kadam
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment