[Docker] Log to `/dev/stdout` by default and avoid garbage output
Current behavior
A bunch of processes run in the same container and all logs are spammed by tail
ing the log files:
https://gitlab.com/gitlab-org/omnibus-gitlab/blob/8d95586c3f1180b68e78f6c6e2248c074126e00c/docker/assets/wrapper#L130-131
Furthermore there is a superfluous log rotation process present in the container.
The output contains some garbage like this:
==> /var/log/gitlab/gitlab-workhorse/current <==
...
==> /var/log/gitlab/gitlab-rails/production.log <==
...
tail: '/var/log/gitlab/sidekiq/state' has been replaced; following new file
Expected behavior
The default logfile for Docker should be /dev/stdout and no log rotation or tail headers should be present. Users can then use their favorite logging driver for Docker. Log files can still be rotated on the host or by an additional Container that runs logrotation only.
Edited by J0WI