个人工具

Syslog/zh

来自Ubuntu中文

Lipeng8413讨论 | 贡献2008年6月3日 (二) 11:57的版本

跳转至: 导航, 搜索


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.