Skip to content

Add option to preserve empty lines

Stan Hu requested to merge sh-preserve-empty-lines into master

Line breaks may be important to ensure a Ruby or Go stack trace can be parsed by FluentD. This commit adds a GITLAB_LOGGER_PRESERVE_EMPTY_LINES environment variable that defaults to false to indicate that an empty log message should be processed.

Relates to gitlab-com/gl-infra/k8s-workloads/tanka-deployments#2 (closed)

Merge request reports