1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 02:35:24 +02:00
tldr/pages/linux/logwatch.md
Managor 611d2c9a04
linux*: refresh old pages part 2 (#16263)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
2025-04-27 10:35:40 +03:00

453 B

logwatch

Summarizes many different logs for common services (e.g. apache, pam_unix, sshd, etc.) in a single report. More information: https://manned.org/logwatch.

  • Analyze logs for a range of dates at a 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|...}}