syslog.conf

来自「linux下记录系统日志代码以及记录内核日志代码」· CONF 代码 · 共 47 行

CONF
47
字号
# /etc/syslog.conf - Configuration file for syslogd(8)## For info about the format of this file, see "man syslog.conf".#*.=debug			-/usr/adm/debug*.warning			/usr/adm/syslog# Store critical stuff in critical#*.=crit;kern.none               /var/adm/critical# Kernel messages are first, stored in the kernel file, # critical messages and higher ones also go to another# host and to the console#kern.*				/var/adm/kernelkern.crit			@finlandiakern.crit			/dev/consolekern.info;kern.!err		/var/adm/kernel-info# The tcp wrapper loggs with mail.info, we display all# the connections on tty12#mail.=info			/dev/tty12# Store all mail concearning stuff in a file#mail.*;mail.!=info		-/var/adm/mail# Log all mail.info and news.info messages to info#mail,news.=info			-/var/adm/info# Log info and notice mesages to messages file#*.=info;*.=notice;mail.none	-/usr/adm/messages#*.=info;mail,news.none		-/usr/adm/messages# Emergency messages will be displayed using wall#*.=emerg                        *# Messages of the priority alert will be directed# to the operator#*.alert                         root,joey

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?