输入syslog到日志主机上:
info-center loghost xxx.xxx.xxx.xxx channel loghost
将级别为0的日志发送到日志主机
info-center source default channel loghost log level debugging state on
alerts Action must be taken immediately (severity=1)
critical Critical conditions (severity=2)
debugging Debug-level messages (severity=7)最低级别
emergencies System is unusable (severity=0)最高级别
errors Error conditions (severity=3)
informational Informational messages (severity=6)
notifications Normal but significant conditions (severity=5)
warnings Warning conditions (severity=4)中级别(默认级别)
最低级别为:severity=7
高一个级别:severity=6
高一个级别:severity=5
中级级别:severity=4(默认)
高一个级别:severity=3
高一个级别:severity=2
高一个级别:severity=1
最高级别:severity=0