UbuntuHelp:Logwatch
出自Ubuntu中文
| 点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
目录 |
[编辑] Logwatch
Logwatch is a tool that will monitor your server's logs and email the administrator a digest on a daily basis.
[编辑] Installation
[编辑] Prerequisites
- Ensure email is working. Instructions for doing so may be found in MailServer.
- Turn on universe repository. Instructions for doing so may be found in Repositories.
[编辑] Instructions
Update your package list with:
$ sudo apt-get update
Install Logwatch with:
$ sudo apt-get install logwatch
[编辑] Notes
For Ubuntu systems with apache server: edit /usr/share/logwatch/dist.conf/logfiles/http.conf and add *combined.log files to the list
