⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 列表9.9.txt

📁 klinux书籍的配套光盘。可以学习学习。
💻 TXT
字号:
【列表9.9】关于syslog.conf的一个例子。
# /etc/syslog.conf - Configuration file for syslogd(8)
#
# For info about the format of this file, see "man syslog.conf".
#
# print most on ttylO and on the xconsole pipe
#
kern.warn;*.err;authpriv.none /dev/tty10
kern.warn;*.err;authpriv.none|/dev/xconsole
*.emorg *
# enable this, if you want that root is informed
# immediately, e.g. of logins
#*.alert root
# all email-messages in one file
#
mail.*  -/var/log/mail
# all news-messages
#
# these files are rotated and examined by "news.daily"
news.crit  -/var/log/news/news.crit
news.err   -/var/log/news/news.err
news.notice   -/var/log/news/news.notice
# enable this, if you want to keep all news messages
# in one file
#news.*    -/var/log/news.all
# Warnings in one file
#
*.=warn;*.=err    -/var/log/warn
*.crit          /var/log/warn
#
# Debug info
#
*.=debug   /var/log/debug
# save the rest in one file
#
*.*;mail.none;news.none;*.!=debug    -/var/log/messages
# enable this, if you want to keep all messages
# in one file
 #*.*     -/var/log/allmessages
 kern.*    /var/log/firewall

⌨️ 快捷键说明

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