gitlab-ctl tail shows the contents of the gziped files from logrotate
-
Summary: gitlab-ctl tail shows the contents of the gziped files from logrotate which makes it unsuable - it even breaks by tmux window.
-
Steps to reproduce: You need to have logs that were already rotated, then:
sudo gitlab-ctl tail
-
Expected behavior: Text logs were expected.
-
Observed behavior: The output is garbage.
-
Relevant logs and/or screenshots: (sample)
==> /var/log/gitlab/gitlab-rails/githost.log.1.gz <==
9�U=kཿ/Qd;_B !����X��Դ��U�&�/B┬�\����├4�4N&�L�│
E�*��Q
��
�*◆*?֥E^�����DRπ�BF�]⎺G┼P@�c&����<Վ��J@5Ʊ�V]d�e��±��%�����84
==> /┴▒⎼/┌⎺±/±☃├┌▒b/±☃├┌▒b↑⎼▒☃┌⎽/▒⎻⎻┌☃c▒├☃⎺┼↓┌⎺±↓4↓±≥ <==
- Output of checks
- Version: GitLab 7.9.0 16d6f0e3 - installed from omnibus package.
- Neither bundle exec commands work (is this another bug?)
- Possible fixes: Instead of running
tail -f *
it should be
tail -f *.log