Syslog/zh:修订间差异

来自Ubuntu中文
跳到导航跳到搜索
Lipeng8413留言 | 贡献
新页面: {{Translation}} {{From|http://wiki.ubuntu.org.cn/Quick_HOWTO_:_Ap04_:_syslog_Configuration_and_Cisco_Devices}} {{Translator|lipeng}} {{Languages|Quick_HOWTO_:_Ap04_:_syslog_Configurati...
 
Lipeng8413留言 | 贡献
无编辑摘要
第6行: 第6行:


{{Languages|Quick_HOWTO_:_Ap04_:_syslog_Configuration_and_Cisco_Devices}}
{{Languages|Quick_HOWTO_:_Ap04_:_syslog_Configuration_and_Cisco_Devices}}
== Introduction ==
Syslog reserves facilities local0 through local7 for log messages received from remote servers and network devices. Routers, switches, firewalls and load balancers each logging with a different facility can each have their own log files for easy troubleshooting. The following examples will show how to have a different log file for each class of device.
If you have a large data center, then you may also want to switch off all logging to /var/log/messages as suggested above for the home/SOHO environment. In all the network device configuration examples below we are logging to the remote Linux logging server 192.168.1.100 which we set up in the previous section.

2008年6月3日 (二) 11:57的版本

{{#ifexist: :Syslog/zh/zh | | {{#ifexist: Syslog/zh/zh | | {{#ifeq: {{#titleparts:Syslog/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Syslog/zh|1|-1|}} | zh | | }}


Introduction

Syslog reserves facilities local0 through local7 for log messages received from remote servers and network devices. Routers, switches, firewalls and load balancers each logging with a different facility can each have their own log files for easy troubleshooting. The following examples will show how to have a different log file for each class of device.

If you have a large data center, then you may also want to switch off all logging to /var/log/messages as suggested above for the home/SOHO environment. In all the network device configuration examples below we are logging to the remote Linux logging server 192.168.1.100 which we set up in the previous section.