blob: d1986cc073631555080463e82b0ecb72c30051db [file] [log] [blame]
Jayanth Othayoth14d790f2017-10-15 05:48:25 -05001#!/bin/bash
2#
Marri Devender Rao6d7f7532018-12-04 09:10:02 -06003# config: 24 10
Jayanth Othayoth14d790f2017-10-15 05:48:25 -05004# @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"