特殊:Badtitle/NS100:Logwatch
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/Logwatch }} |
点击翻译: |
English {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/af | • {{#if: php5|Afrikaans| [[::Logwatch/af|Afrikaans]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/ar | • {{#if: php5|العربية| [[::Logwatch/ar|العربية]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/az | • {{#if: php5|azərbaycanca| [[::Logwatch/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/bcc | • {{#if: php5|جهلسری بلوچی| [[::Logwatch/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/bg | • {{#if: php5|български| [[::Logwatch/bg|български]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/br | • {{#if: php5|brezhoneg| [[::Logwatch/br|brezhoneg]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/ca | • {{#if: php5|català| [[::Logwatch/ca|català]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/cs | • {{#if: php5|čeština| [[::Logwatch/cs|čeština]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/de | • {{#if: php5|Deutsch| [[::Logwatch/de|Deutsch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/el | • {{#if: php5|Ελληνικά| [[::Logwatch/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/es | • {{#if: php5|español| [[::Logwatch/es|español]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/fa | • {{#if: php5|فارسی| [[::Logwatch/fa|فارسی]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/fi | • {{#if: php5|suomi| [[::Logwatch/fi|suomi]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/fr | • {{#if: php5|français| [[::Logwatch/fr|français]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/gu | • {{#if: php5|ગુજરાતી| [[::Logwatch/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/he | • {{#if: php5|עברית| [[::Logwatch/he|עברית]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/hu | • {{#if: php5|magyar| [[::Logwatch/hu|magyar]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/id | • {{#if: php5|Bahasa Indonesia| [[::Logwatch/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/it | • {{#if: php5|italiano| [[::Logwatch/it|italiano]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/ja | • {{#if: php5|日本語| [[::Logwatch/ja|日本語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/ko | • {{#if: php5|한국어| [[::Logwatch/ko|한국어]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/ksh | • {{#if: php5|Ripoarisch| [[::Logwatch/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/mr | • {{#if: php5|मराठी| [[::Logwatch/mr|मराठी]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/ms | • {{#if: php5|Bahasa Melayu| [[::Logwatch/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/nl | • {{#if: php5|Nederlands| [[::Logwatch/nl|Nederlands]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/no | • {{#if: php5|norsk| [[::Logwatch/no|norsk]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/oc | • {{#if: php5|occitan| [[::Logwatch/oc|occitan]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/pl | • {{#if: php5|polski| [[::Logwatch/pl|polski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/pt | • {{#if: php5|português| [[::Logwatch/pt|português]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/ro | • {{#if: php5|română| [[::Logwatch/ro|română]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/ru | • {{#if: php5|русский| [[::Logwatch/ru|русский]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/si | • {{#if: php5|සිංහල| [[::Logwatch/si|සිංහල]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/sq | • {{#if: php5|shqip| [[::Logwatch/sq|shqip]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/sr | • {{#if: php5|српски / srpski| [[::Logwatch/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/sv | • {{#if: php5|svenska| [[::Logwatch/sv|svenska]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/th | • {{#if: php5|ไทย| [[::Logwatch/th|ไทย]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/tr | • {{#if: php5|Türkçe| [[::Logwatch/tr|Türkçe]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/vi | • {{#if: php5|Tiếng Việt| [[::Logwatch/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/yue | • {{#if: php5|粵語| [[::Logwatch/yue|粵語]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/zh | • {{#if: php5|中文| [[::Logwatch/zh|中文]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/zh-hans | • {{#if: php5|中文(简体)| [[::Logwatch/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: php5 | php5 | {{#if: | :}}Logwatch}}/zh-hant | • {{#if: php5|中文(繁體)| [[::Logwatch/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:php5|:Logwatch|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Logwatch/zh | | {{#ifexist: Logwatch/zh | | {{#ifeq: {{#titleparts:Logwatch|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Logwatch|1|-1|}} | zh | | }}
- format wiki
- language en
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 UbuntuHelp:MailServer.
- Turn on universe repository. Instructions for doing so may be found in UbuntuHelp:Repositories.
Instructions
Update your package list with:
$ sudo apt-get update Install Logwatch with:$ sudo apt-get install logwatchNotes
For Ubuntu systems with apache server: edit /usr/share/logwatch/dist.conf/logfiles/http.conf and add *combined.log files to the list