Commit 6b180a6c authored by Peter Leitzen's avatar Peter Leitzen

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

Use applogger in exclusive_lease_guard.rb

See merge request gitlab-org/gitlab!32194
parents 2c997121 2f00e860
......@@ -58,6 +58,6 @@ module ExclusiveLeaseGuard
end
def log_error(message, extra_args = {})
Rails.logger.error(message) # rubocop:disable Gitlab/RailsLogger
Gitlab::AppLogger.error(message)
end
end
---
title: Use applogger in exclusive_lease_guard
merge_request: 32194
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