mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
12 lines
401 B
Markdown
12 lines
401 B
Markdown
|
# logwatch
|
||
|
|
||
|
> Summarizes many different logs for common services (e.g., apache, pam_unix, sshd, etc.) in a single report.
|
||
|
|
||
|
- Analyze logs for a range of dates at certain level of detail:
|
||
|
|
||
|
`logwatch --range {{yesterday|today|all|help}} --detail {{low|medium|others}}'`
|
||
|
|
||
|
- Restrict report to only include information for a selected service:
|
||
|
|
||
|
`logwatch --range {{all}} --service {{apache|pam_unix|etc}}`
|