Commit 41712ebe authored by Gabriel Mazetto's avatar Gabriel Mazetto

Use Gitlab::AppLogger instead of Rails.logger

parent 33ec8f7e
...@@ -15,7 +15,7 @@ module Projects ...@@ -15,7 +15,7 @@ module Projects
def initialize(project, old_disk_path, logger: nil) def initialize(project, old_disk_path, logger: nil)
@project = project @project = project
@logger = logger || Rails.logger @logger = logger || Gitlab::AppLogger
@old_disk_path = old_disk_path @old_disk_path = old_disk_path
@old_wiki_disk_path = "#{old_disk_path}.wiki" @old_wiki_disk_path = "#{old_disk_path}.wiki"
@move_wiki = has_wiki? @move_wiki = has_wiki?
......
...@@ -8,7 +8,7 @@ module Projects ...@@ -8,7 +8,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 @logger = logger || Gitlab::AppLogger
end end
def execute def execute
......
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