<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ubuntu,debian,redhat -linuxany.com &#187; rsyslog</title>
	<atom:link href="http://www.linuxany.com/archives/tag/rsyslog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxany.com</link>
	<description></description>
	<lastBuildDate>Thu, 26 Jan 2012 08:59:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Linux的系统日志&#8211;syslog详解</title>
		<link>http://www.linuxany.com/archives/864.html</link>
		<comments>http://www.linuxany.com/archives/864.html#comments</comments>
		<pubDate>Sun, 04 Oct 2009 04:28:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RedHat]]></category>
		<category><![CDATA[rsyslog]]></category>
		<category><![CDATA[syslog]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=864</guid>
		<description><![CDATA[我们可以借助syslog函数将消息写入到/var/log/messages文件或其他配置好的文章。syslogd（系统日志守护进程）会监控程序提交的消息并对其进行处理。klogd（内核日志守护进程）负责监控内核提交的消息，并将内核消息记录到/var/log/messages。二者协作记录日志消息。每次启动linux时，这两个守护进程都会由/etc/rc.d/init.d中的初始化脚本启动。 #vi /etc/syslog.conf&#160; daemon.info&#160; &#160; /var/log/messages syslog.conf文件中每一行包括以下内容： l       选择器， 用于表明应该记录哪些消息的一组单词。包括设备（用于指定选择哪种类型程序的代码，即生成该消息的程序类别）和优先级（又能够于指定选择记录的消息类型，更确切的说是表明该消息所代表事件的严重程度）。 l       动作，用于指定sysogd接收到与选择标准相匹配的消息时应该执行的动作，通常可以使消息要写入的文件名，或应该显示该消息的机器的用户名。 设备          设备描述          设备名 来自login等用户身份验证类程序的消息   auth 特殊目的（私有）用户身份验证消息   auth-priv 来自cron程序的消息（用于控制自动化得，调度后的任务）   cron 来自未在此处列出的所有标准守护进程或服务器的消息   deamon 内核消息（由klogd捕捉）   kern 打印服务器消息   lpr 邮件服务器消息（来自mail transfer agent）   mail 新闻服务器消息   news 关于系统登录进程本身的消息   syslog 来自终端用户所启动程序的消息   user 来自uucp程序的消息   uucp 八个特定用途的类别信息，linux销售商和编程人员可能需要使用这些消息来定义通常类别信息之外的特定需求   local0到local7 [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/864.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

