<?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: Rails log analyzer</title>
	<atom:link href="http://techblog.floorplanner.com/2008/08/15/rails-log-analyzer/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.floorplanner.com/2008/08/15/rails-log-analyzer/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 20 Nov 2009 23:38:19 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Floorplanner Tech Blog &#187; Blog Archive &#187; Rails log analyzer matures</title>
		<link>http://techblog.floorplanner.com/2008/08/15/rails-log-analyzer/comment-page-1/#comment-99</link>
		<dc:creator>Floorplanner Tech Blog &#187; Blog Archive &#187; Rails log analyzer matures</dc:creator>
		<pubDate>Fri, 29 Aug 2008 09:50:07 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.floorplanner.com/?p=138#comment-99</guid>
		<description>[...] I announced rails-log-analyzer some weeks ago, quite a lot has happened! Apparently there is some interest in [...]</description>
		<content:encoded><![CDATA[<p>[...] I announced rails-log-analyzer some weeks ago, quite a lot has happened! Apparently there is some interest in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Willem van Bergen</title>
		<link>http://techblog.floorplanner.com/2008/08/15/rails-log-analyzer/comment-page-1/#comment-96</link>
		<dc:creator>Willem van Bergen</dc:creator>
		<pubDate>Sat, 16 Aug 2008 12:30:27 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.floorplanner.com/?p=138#comment-96</guid>
		<description>Manually editing analyze.rb is a pain indeed. I would like to add some Rails integration to the tool to resolve these issues as well, but I already spent way too much time on this tool for now. First, I have to tune Floorplanner to get rid of all the performance issues I found with it :-)

I added the &lt;code&gt;-c&lt;/code&gt; configuration option to the documentation and I have added your suggestions to the TODO file. If you have some spare time to hack on it, please do so!</description>
		<content:encoded><![CDATA[<p>Manually editing analyze.rb is a pain indeed. I would like to add some Rails integration to the tool to resolve these issues as well, but I already spent way too much time on this tool for now. First, I have to tune Floorplanner to get rid of all the performance issues I found with it <img src='http://techblog.floorplanner.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I added the <code>-c</code> configuration option to the documentation and I have added your suggestions to the TODO file. If you have some spare time to hack on it, please do so!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aleco</title>
		<link>http://techblog.floorplanner.com/2008/08/15/rails-log-analyzer/comment-page-1/#comment-95</link>
		<dc:creator>aleco</dc:creator>
		<pubDate>Sat, 16 Aug 2008 11:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.floorplanner.com/?p=138#comment-95</guid>
		<description>Willem, thanks for the reply. I suggest to add the -c argument to the documentation. 

As for the routes: I assume that if the code was bedded into a plugin/gem, it could then easily access the routes (and it would also know where to find the logfiles). It could then also add a rake or cap task, which would make it easier to aggregate the log analysis from your applications. 

Alternatively, I could imagine passing a hash to analyze.rb for custom routes would be an option, which would then be feeded into the request_hasher method (as manually editing analyze.rb is a pain as you&#039;d have to do it each time you publish a new version of analyze.rb).</description>
		<content:encoded><![CDATA[<p>Willem, thanks for the reply. I suggest to add the -c argument to the documentation. </p>
<p>As for the routes: I assume that if the code was bedded into a plugin/gem, it could then easily access the routes (and it would also know where to find the logfiles). It could then also add a rake or cap task, which would make it easier to aggregate the log analysis from your applications. </p>
<p>Alternatively, I could imagine passing a hash to analyze.rb for custom routes would be an option, which would then be feeded into the request_hasher method (as manually editing analyze.rb is a pain as you&#8217;d have to do it each time you publish a new version of analyze.rb).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Willem</title>
		<link>http://techblog.floorplanner.com/2008/08/15/rails-log-analyzer/comment-page-1/#comment-93</link>
		<dc:creator>Willem</dc:creator>
		<pubDate>Sat, 16 Aug 2008 05:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.floorplanner.com/?p=138#comment-93</guid>
		<description>Hi Aleco,

Currently, the analyzer will use some simple guesses to aggregate URLs. It does not use the Rails routing file. We are working on it to make it more reliable, but unfortunately it is not that easy. We are looking at it! 

In the mean time, you can change how URLs are aggregated by changing the &lt;code&gt;request_hasher&lt;/code&gt; method in &lt;strong&gt;analyze.rb&lt;/strong&gt;. You could add a line similar to &lt;code&gt;url.gsub!(/\/markets\/\w+/, &#039;/markets/:id&#039;)&lt;/code&gt;

You can get more than ten results by passing &lt;code&gt;-c 50&lt;/code&gt; to the command line, which will yield the top 50 results for every statistic.</description>
		<content:encoded><![CDATA[<p>Hi Aleco,</p>
<p>Currently, the analyzer will use some simple guesses to aggregate URLs. It does not use the Rails routing file. We are working on it to make it more reliable, but unfortunately it is not that easy. We are looking at it! </p>
<p>In the mean time, you can change how URLs are aggregated by changing the <code>request_hasher</code> method in <strong>analyze.rb</strong>. You could add a line similar to <code>url.gsub!(/\/markets\/\w+/, '/markets/:id')</code></p>
<p>You can get more than ten results by passing <code>-c 50</code> to the command line, which will yield the top 50 results for every statistic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aleco</title>
		<link>http://techblog.floorplanner.com/2008/08/15/rails-log-analyzer/comment-page-1/#comment-92</link>
		<dc:creator>aleco</dc:creator>
		<pubDate>Sat, 16 Aug 2008 00:45:52 +0000</pubDate>
		<guid isPermaLink="false">http://techblog.floorplanner.com/?p=138#comment-92</guid>
		<description>It&#039;s a great plugin! I&#039;ve just come across one problem so far: a route named

map.market &#039;markets/:id&#039;, :controller =&gt; &#039;markets&#039;, :action =&gt; &#039;show&#039;

will not create an aggregated &quot;/markets/:id/&quot; in the statistics, but instead create one line per id. This might also be caused by using a custom to_param which isn&#039;t integer (I havn&#039;t checked if that&#039;s the real reason for the problem yet).

Besides that it would be great to have an option to show more than the top10.</description>
		<content:encoded><![CDATA[<p>It&#8217;s a great plugin! I&#8217;ve just come across one problem so far: a route named</p>
<p>map.market &#8216;markets/:id&#8217;, :controller =&gt; &#8216;markets&#8217;, :action =&gt; &#8217;show&#8217;</p>
<p>will not create an aggregated &#8220;/markets/:id/&#8221; in the statistics, but instead create one line per id. This might also be caused by using a custom to_param which isn&#8217;t integer (I havn&#8217;t checked if that&#8217;s the real reason for the problem yet).</p>
<p>Besides that it would be great to have an option to show more than the top10.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
