Asif Bacchus 2020-05-24 03:42:19 -06:00
parent 03bc53e69b
commit c6c7f5bcdd

14
7.1.5-Testing.md Normal file

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