Enable JSON logging by default
Summary
We currently utilize unstructured logs for GitLab services, which can be hard to consume and parse for content. We also support JSON logging for many services, which can enable much richer filtering capabilities in tools that support them.
Proposal
We should enable JSON logging by default across all GitLab services. This would be a break change, for some users who have written rules or otherwise expect the logs to be unstructured.
We should therefore schedule for %12.0.
Action
- Make sure release notes for 12 contain clear information about the change
- Inform Technical Account Managers / Implementation Engineers so they can notify customers and help them prepare
- Inform .COM and Self Hosted Support team members of the change to help them develop a streamlined strategy to deal with the influx of calls that may arrive on this topic
This will pertain to:
- gitaly
- sidekiq
- gitlab-shell
- gitlab-workhorse
- gitlab-pages
Post Action
Suggesting Source Installation also default to JSON:
Edited by Robert Marshall