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 +```