<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Nifty Log Watching Command</title>
	<atom:link href="http://thesmithfam.org/blog/2008/02/21/nifty-log-watching-command/feed/" rel="self" type="application/rss+xml" />
	<link>http://thesmithfam.org/blog/2008/02/21/nifty-log-watching-command/</link>
	<description>Your blog is probably better than mine.</description>
	<pubDate>Fri, 29 Aug 2008 04:15:53 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Dave</title>
		<link>http://thesmithfam.org/blog/2008/02/21/nifty-log-watching-command/#comment-37933</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sun, 24 Feb 2008 17:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/2008/02/21/nifty-log-watching-command/#comment-37933</guid>
		<description>Seems like mtail doesn't recurse through sub-directories to find log files like my command does, nor is it available in Debian stable's repository (looks like Gentoo has it though).

Also, my example *can* do multiple directories. Just toss them in after the "find" command, like this:

find /var/log /var/spool/mail /home/user/log &#124; xargs file &#124; grep text &#124; cut -f 1 -d : &#124; xargs tail -F

Also, what does mtail do if you accidentally feed it a .gz file like your command above did? (e.g., /var/log/foo.log.1.gz) Does it spew binary characters all over your terminal like the normal tail command does?

--Dave</description>
		<content:encoded><![CDATA[<p>Seems like mtail doesn&#8217;t recurse through sub-directories to find log files like my command does, nor is it available in Debian stable&#8217;s repository (looks like Gentoo has it though).</p>
<p>Also, my example *can* do multiple directories. Just toss them in after the &#8220;find&#8221; command, like this:</p>
<p>find /var/log /var/spool/mail /home/user/log | xargs file | grep text | cut -f 1 -d : | xargs tail -F</p>
<p>Also, what does mtail do if you accidentally feed it a .gz file like your command above did? (e.g., /var/log/foo.log.1.gz) Does it spew binary characters all over your terminal like the normal tail command does?</p>
<p>&#8211;Dave</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harley Pig</title>
		<link>http://thesmithfam.org/blog/2008/02/21/nifty-log-watching-command/#comment-37912</link>
		<dc:creator>Harley Pig</dc:creator>
		<pubDate>Sun, 24 Feb 2008 08:17:36 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/2008/02/21/nifty-log-watching-command/#comment-37912</guid>
		<description>There is an app called mtail which does effectively the same thing.  One improvement over your example is that you can use multiple directories:

mtail /var/log/* /var/spool/mail/harleypig /home/harleypig/log/*</description>
		<content:encoded><![CDATA[<p>There is an app called mtail which does effectively the same thing.  One improvement over your example is that you can use multiple directories:</p>
<p>mtail /var/log/* /var/spool/mail/harleypig /home/harleypig/log/*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Byron Clark</title>
		<link>http://thesmithfam.org/blog/2008/02/21/nifty-log-watching-command/#comment-37772</link>
		<dc:creator>Byron Clark</dc:creator>
		<pubDate>Thu, 21 Feb 2008 17:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://thesmithfam.org/blog/2008/02/21/nifty-log-watching-command/#comment-37772</guid>
		<description>You may want to change the 'tail -f' to 'tail -F' so that you'll still follow a log file if it is rotated.</description>
		<content:encoded><![CDATA[<p>You may want to change the &#8216;tail -f&#8217; to &#8216;tail -F&#8217; so that you&#8217;ll still follow a log file if it is rotated.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
