+14
@@ -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
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user