#!/bin/bash | |
# | |
# config: 2 10 | |
# @brief: Collect Journal pretty log information. | |
# | |
. $DREPORT_INCLUDE/functions | |
desc="Journal pretty log" | |
file_name="journal-pretty.log" | |
command="journalctl -o json-pretty -r" | |
add_cmd_output "$command" "$file_name" "$desc" |