Asif Bacchus 2020-05-24 03:43:39 -06:00
parent c6c7f5bcdd
commit da8fdb745d
1 changed files with 5 additions and 1 deletions

@ -1,4 +1,4 @@
# Testing
# 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):
@ -12,3 +12,7 @@ logwatch --service backup --output stdout --format text --range yesterday --deta
# Verbose output, today only
logwatch --service backup --output stdout --format text --range today --detail 5
```
## final notes
I'm a horrible PERL programmer so if anyone can optimize/improve the script file used for Logwatch then please do it! Otherwise, I hope this made sense and helped you integrate the backup script with Logwatch for easy monitoring :-) Please file any questions/comments/suggestions you have in the issues section. If you want to contribute, file a pull-request. Thanks!