Jayanth Othayoth | 14d790f | 2017-10-15 05:48:25 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # |
Marri Devender Rao | 6d7f753 | 2018-12-04 09:10:02 -0600 | [diff] [blame] | 3 | # config: 24 10 |
Jayanth Othayoth | 14d790f | 2017-10-15 05:48:25 -0500 | [diff] [blame] | 4 | # @brief: Collect Journal pretty log information. |
| 5 | # |
| 6 | |
| 7 | . $DREPORT_INCLUDE/functions |
| 8 | |
| 9 | desc="Journal pretty log" |
| 10 | file_name="journal-pretty.log" |
Jian Zhang | 41167a2 | 2024-12-10 23:14:05 +0800 | [diff] [blame] | 11 | command="journalctl --namespace=* -o json-pretty -r" |
Jayanth Othayoth | 14d790f | 2017-10-15 05:48:25 -0500 | [diff] [blame] | 12 | |
| 13 | add_cmd_output "$command" "$file_name" "$desc" |