读书人

系统信息日记配置/etc/syslog.conf

发布时间: 2012-08-31 12:55:03 作者: rapoo

系统信息日志配置/etc/syslog.conf

?

输出消息的类型 ?格式: ??facility.level; facility.level.? ? ? ? ? ? ? ? ? ? ? 输入消息的位置

*.err;kern.notice;auth.notice ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?/dev/sysmsg
*.err;kern.debug;daemon.notice;mail.crit ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?/var/adm/messages

重启syslog

/etc/init.d/syslog stop

/etc/init.d/syslog start

?

The selector field?is a semicolon-separated list of priority specifications in the following format:?facility.level; facility.level.

读书人网 >操作系统

热点推荐