From c6c7f5bcdd25e4b8e4726ecf199b3449b5d02c0d Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 24 May 2020 03:42:19 -0600 Subject: [PATCH] --- 7.1.5-Testing.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 7.1.5-Testing.md diff --git a/7.1.5-Testing.md b/7.1.5-Testing.md new file mode 100644 index 0000000..c14e684 --- /dev/null +++ b/7.1.5-Testing.md @@ -0,0 +1,14 @@ +# Testing + +Run *logwatch --help* and note the options. You can test just this service locally on your screen with the following command (assuming you kept default names for everything): + +```Bash +# Summary output, entire duration of log file +logwatch --service backup --output stdout --format text --range all --detail 0 + +# Minimal detail, yesterday only +logwatch --service backup --output stdout --format text --range yesterday --detail 3 + +# Verbose output, today only +logwatch --service backup --output stdout --format text --range today --detail 5 +```