devstack/roles/export-devstack-journal
Sean Mooney d02fa6f856 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
2020-01-14 15:52:23 +00:00
..
defaults Use stage_dir instead of /opt/stack 2017-12-18 18:21:24 +00:00
tasks do not gzip legacy service logs 2020-01-14 15:52:23 +00:00
templates fix a command typo 2019-12-19 13:32:55 +02:00
README.rst Export all journal logs 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