1#!/bin/bash 2# 3# config: 24 10 4# @brief: Collect Journal pretty log information. 5# 6 7# shellcheck source=tools/dreport.d/include.d/functions 8. "$DREPORT_INCLUDE"/functions 9 10desc="Journal pretty log" 11file_name="journal-pretty.log" 12command="journalctl --namespace=* -o json-pretty -r" 13 14add_cmd_output "$command" "$file_name" "$desc" 15