Commit 9ed1e151 authored by Peter Leitzen's avatar Peter Leitzen

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

Use applogger in base attachment service

See merge request gitlab-org/gitlab!32201
parents 16a50e21 52abb7ec
...@@ -19,7 +19,7 @@ module Projects ...@@ -19,7 +19,7 @@ module Projects
def initialize(project:, old_disk_path:, logger: nil) def initialize(project:, old_disk_path:, logger: nil)
@project = project @project = project
@old_disk_path = old_disk_path @old_disk_path = old_disk_path
@logger = logger || Rails.logger # rubocop:disable Gitlab/RailsLogger @logger = logger || Gitlab::AppLogger
end end
# Return whether this operation was skipped or not # Return whether this operation was skipped or not
......
---
title: Use applogger in base attachment service
merge_request: 32201
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