<?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" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: Learning Linux: Log Files</title> <atom:link href="http://www.ghacks.net/2009/02/16/learning-linux-log-files/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net/2009/02/16/learning-linux-log-files/</link> <description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Mon, 15 Mar 2010 02:40:22 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Goddard</title><link>http://www.ghacks.net/2009/02/16/learning-linux-log-files/comment-page-1/#comment-958074</link> <dc:creator>Goddard</dc:creator> <pubDate>Thu, 21 Jan 2010 04:31:35 +0000</pubDate> <guid isPermaLink="false">http://www.ghacks.net/?p=10586#comment-958074</guid> <description>Nothing personal to the author because I did get benefit, but it doesn&#039;t really cover log files extensively enough.  I would like to know what the messages mean in greater detail.  I run Ubuntu and on Ubuntu there is a program to view all these files so viewing them isn&#039;t a problem.  Cracking the log file code is another problem.Thanks for the article please elaborate on this subject.</description> <content:encoded><![CDATA[<p>Nothing personal to the author because I did get benefit, but it doesn&#8217;t really cover log files extensively enough.  I would like to know what the messages mean in greater detail.  I run Ubuntu and on Ubuntu there is a program to view all these files so viewing them isn&#8217;t a problem.  Cracking the log file code is another problem.</p><p>Thanks for the article please elaborate on this subject.</p> ]]></content:encoded> </item> <item><title>By: dreur</title><link>http://www.ghacks.net/2009/02/16/learning-linux-log-files/comment-page-1/#comment-674979</link> <dc:creator>dreur</dc:creator> <pubDate>Fri, 13 Mar 2009 15:29:15 +0000</pubDate> <guid isPermaLink="false">http://www.ghacks.net/?p=10586#comment-674979</guid> <description>@Eric D less +F logfile.log</description> <content:encoded><![CDATA[<p>@Eric D<br /> less +F logfile.log</p> ]]></content:encoded> </item> <item><title>By: What is Linux?</title><link>http://www.ghacks.net/2009/02/16/learning-linux-log-files/comment-page-1/#comment-646400</link> <dc:creator>What is Linux?</dc:creator> <pubDate>Tue, 17 Feb 2009 13:14:32 +0000</pubDate> <guid isPermaLink="false">http://www.ghacks.net/?p=10586#comment-646400</guid> <description>Thanks, Jack. The log files is one aspect of the computer that I always knew that I need to understand better, but just never got around to it. You have once again proven that you know what we really need, and write great articles about them instead of simply rehashing what is being blogged about everywhere else. Thanks!</description> <content:encoded><![CDATA[<p>Thanks, Jack. The log files is one aspect of the computer that I always knew that I need to understand better, but just never got around to it. You have once again proven that you know what we really need, and write great articles about them instead of simply rehashing what is being blogged about everywhere else. Thanks!</p> ]]></content:encoded> </item> <item><title>By: Eric D</title><link>http://www.ghacks.net/2009/02/16/learning-linux-log-files/comment-page-1/#comment-646347</link> <dc:creator>Eric D</dc:creator> <pubDate>Tue, 17 Feb 2009 11:12:29 +0000</pubDate> <guid isPermaLink="false">http://www.ghacks.net/?p=10586#comment-646347</guid> <description>Don&#039;t use &quot;tail -f&quot;, use &quot;less&quot; and then type &quot;F&quot;. - If you see that there were 150 lines of errors at the end of your log, you need to stop, open with less... If you&#039;re in less already, just hit ctrl-c and go up. - You open a console to check a log file, realise it&#039;s showing large lines, extend the window size. With tail, the already printed logs will remain cut, only the new lines will print to the new full width. With less, it redisplays your screen accordingly - With less, you can pause your &quot;tail&quot; to look at a specific line and resume later.The only drawback with this method is that you need to type &quot;F&quot; inside less, AFAIK there is no command-line flag like &quot;less -f blah.log&quot;.</description> <content:encoded><![CDATA[<p>Don&#8217;t use &#8220;tail -f&#8221;, use &#8220;less&#8221; and then type &#8220;F&#8221;.<br /> - If you see that there were 150 lines of errors at the end of your log, you need to stop, open with less&#8230; If you&#8217;re in less already, just hit ctrl-c and go up.<br /> - You open a console to check a log file, realise it&#8217;s showing large lines, extend the window size. With tail, the already printed logs will remain cut, only the new lines will print to the new full width. With less, it redisplays your screen accordingly<br /> - With less, you can pause your &#8220;tail&#8221; to look at a specific line and resume later.</p><p>The only drawback with this method is that you need to type &#8220;F&#8221; inside less, AFAIK there is no command-line flag like &#8220;less -f blah.log&#8221;.</p> ]]></content:encoded> </item> <item><title>By: The Mighty Buzzard</title><link>http://www.ghacks.net/2009/02/16/learning-linux-log-files/comment-page-1/#comment-645817</link> <dc:creator>The Mighty Buzzard</dc:creator> <pubDate>Mon, 16 Feb 2009 15:15:09 +0000</pubDate> <guid isPermaLink="false">http://www.ghacks.net/?p=10586#comment-645817</guid> <description>It goes without saying that the emdashes in the above comment are supposed to be double dashes.  I have no idea why someone would feel the need to write code that tells me what I meant to type.</description> <content:encoded><![CDATA[<p>It goes without saying that the emdashes in the above comment are supposed to be double dashes.  I have no idea why someone would feel the need to write code that tells me what I meant to type.</p> ]]></content:encoded> </item> <item><title>By: The Mighty Buzzard</title><link>http://www.ghacks.net/2009/02/16/learning-linux-log-files/comment-page-1/#comment-645809</link> <dc:creator>The Mighty Buzzard</dc:creator> <pubDate>Mon, 16 Feb 2009 15:07:18 +0000</pubDate> <guid isPermaLink="false">http://www.ghacks.net/?p=10586#comment-645809</guid> <description>This might work a bit better for those with long uptimes where logfile rotation is an issue.tail --follow=name --retry --max-unchanged-stats=5 /var/log/foo</description> <content:encoded><![CDATA[<p>This might work a bit better for those with long uptimes where logfile rotation is an issue.</p><p>tail &#8211;follow=name &#8211;retry &#8211;max-unchanged-stats=5 /var/log/foo</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 1/13 queries in 0.005 seconds using disk

Served from: www.ghacks.net @ 2010-03-15 02:51:15 -->