blob: 9e3c919627e952c30a03c285b8ebd41bd1034779 [file] [log] [blame]
Monty Taylor36ddea32017-10-02 10:05:17 -05001Export journal files from devstack services
2
Ian Wienand59ce1d92019-02-11 12:27:10 +11003This performs a number of logging collection services
Monty Taylor36ddea32017-10-02 10:05:17 -05004
Ian Wienand59ce1d92019-02-11 12:27:10 +11005* Export the systemd journal in native format
6* For every devstack service, export logs to text in a file named
7 ``screen-*`` to maintain legacy compatability when devstack services
8 used to run in a screen session and were logged separately.
9* Export a syslog-style file with kernel and sudo messages for legacy
10 compatability.
11
12Writes the output to the ``logs/`` subdirectory of ``stage_dir``.
Monty Taylor36ddea32017-10-02 10:05:17 -050013
14**Role Variables**
15
16.. zuul:rolevar:: devstack_base_dir
17 :default: /opt/stack
18
Andrea Frittoli (andreaf)290d9d82017-12-11 14:30:59 +000019 The devstack base directory. This is used to obtain the
20 ``log-start-timestamp.txt``, used to filter the systemd journal.
21
22.. zuul:rolevar:: stage_dir
23 :default: {{ ansible_user_dir }}
24
25 The base stage directory.