| Jayanth Othayoth | 14d790f | 2017-10-15 05:48:25 -0500 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | # | ||||
| 3 | # config: 2 10 | ||||
| 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" | ||||
| 11 | command="journalctl -o json-pretty -r" | ||||
| 12 | |||||
| 13 | add_cmd_output "$command" "$file_name" "$desc" | ||||