xref: /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/journalpretty (revision 8b9b4690a4460ada5bf60a285ff6065eda6d5d4a)
1#!/bin/bash
2#
3# config: 24 10
4# @brief: Collect Journal pretty log information.
5#
6
7. $DREPORT_INCLUDE/functions
8
9desc="Journal pretty log"
10file_name="journal-pretty.log"
11command="journalctl -o json-pretty -r"
12
13add_cmd_output "$command" "$file_name" "$desc"
14