Skip to content

[13.9] Allow gitaly-ruby to run if log file cannot be written

Stan Hu requested to merge sh-gitaly-ruby-log-13-9 into 13-9-stable

This backports !3224 (merged) to 13.9.

GitLab 13.9.0 fixed the writing of gitaly_json_ruby.log, but some users may have permissions incorrectly set for the logging dir or file.

Since these logs aren't really critical for operation, we should just warn on failure to open the file and continue to run.

Relates to #3495 (closed)

Edited by Stan Hu

Merge request reports