#!/bin/bash
#
# config: 24 10
# @brief: Collect Journal pretty log information.
#

# shellcheck source=tools/dreport.d/include.d/functions
. "$DREPORT_INCLUDE"/functions

desc="Journal pretty log"
file_name="journal-pretty.log"
command="journalctl --namespace=* -o json-pretty -r"

add_cmd_output "$command" "$file_name" "$desc"
