devstack/roles/export-devstack-journal
Sean Mooney dd367e26cc do not gzip legacy service logs
This change removes the .gz extension from the
service and syslog logs exported via journalctl.
This change nolonger gzip compresses the exported
logs so that they can be rendered in the browser
directly when served from swift.

Change-Id: I4557a737cb13b9c2406056be08ab8a32ddd45162
(cherry picked from commit d02fa6f856ac5951b8a879c23b57d5a752f28918)
2020-01-20 04:04:03 +00:00
..
2020-01-20 04:04:03 +00:00
2019-03-29 11:20:19 -07:00
2019-03-29 11:20:19 -07:00

Export journal files from devstack services

This performs a number of logging collection services

  • Export the systemd journal in native format
  • For every devstack service, export logs to text in a file named screen-* to maintain legacy compatability when devstack services used to run in a screen session and were logged separately.
  • Export a syslog-style file with kernel and sudo messages for legacy compatability.

Writes the output to the logs/ subdirectory of stage_dir.

Role Variables