Commit 9ff47402 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'dz-replace-plugin-log' into 'master'

Replace plugin.log with file_hook.log

See merge request gitlab-org/gitlab!57515
parents 191949a6 9602f4cf
......@@ -63,8 +63,11 @@ need to restart GitLab to apply a new file hook.
If a file hook executes with non-zero exit code or GitLab fails to execute it, a
message is logged to:
- `gitlab-rails/plugin.log` in an Omnibus installation.
- `log/plugin.log` in a source installation.
- `gitlab-rails/file_hook.log` in an Omnibus installation.
- `log/file_hook.log` in a source installation.
NOTE:
Before 14.0 release, the file name was `plugin.log`
## Creating file hooks
......
......@@ -3,7 +3,7 @@
module Gitlab
class FileHookLogger < Gitlab::Logger
def self.file_name_noext
'plugin'
'file_hook'
end
end
end
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