File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,11 @@ registry['log_directory'] = "/var/log/gitlab/registry"
51
51
Gitaly and Mattermost have different log directory configs:
52
52
53
53
``` ruby
54
- gitaly[' configuration' ][' logging' ][' dir' ] = " /var/log/gitlab/registry"
54
+ gitaly[' configuration' ] = {
55
+ logging: {
56
+ dir: " /var/log/gitlab/registry"
57
+ }
58
+ }
55
59
mattermost[' log_file_directory' ] = " /var/log/gitlab/registry"
56
60
```
57
61
@@ -229,7 +233,11 @@ log format. Text formatting can be configured by setting the following
229
233
in ` /etc/gitlab/gitlab.rb ` and then running ` gitlab-ctl reconfigure ` afterward:
230
234
231
235
``` ruby
232
- gitaly[' logging_format' ] = ' '
236
+ gitaly[' configuration' ] = {
237
+ logging: {
238
+ format: " "
239
+ }
240
+ }
233
241
gitlab_shell[' log_format' ] = ' text'
234
242
gitlab_workhorse[' log_format' ] = ' text'
235
243
registry[' log_formatter' ] = ' text'
@@ -268,7 +276,11 @@ Registry, GitLab Shell and Gitaly:
268
276
``` ruby
269
277
registry[' log_level' ] = ' info'
270
278
gitlab_shell[' log_level' ] = ' INFO'
271
- gitaly[' logging_level' ] = ' warn'
279
+ gitaly[' configuration' ] = {
280
+ logging: {
281
+ level: " warn"
282
+ }
283
+ }
272
284
```
273
285
274
286
1 . Reconfigure GitLab:
You can’t perform that action at this time.
0 commit comments