<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,13 +15,13 @@ class ApacheAnalyzer &lt; Scout::Plugin
     request_count = 0
     lines_scanned = 0
     report_data = { :request_rate     =&gt; 0, :lines_scanned =&gt; 0 }
-    last_run = memory(:last_request_time) || Time.now-60*1
+    last_run = memory(:last_request_time) || Time.now-60 # analyze last minute on first invocation
 
     # read backward, counting lines
     Elif.foreach(log_path) do |line|
       lines_scanned += 1
       if line =~ /(\d{2}\/[A-Za-z]{3}\/\d{4})(.)(\d{2}:\d{2}:\d{2})(?: .\d{4})?/
-        # some apache configs log time time with a ':' between date and time
+        # CLF logs time with a ':' between date and time; Time.parse doesn't like this
         time_of_request = Time.parse(&quot;#{$1} #{$3}&quot;)
 
         if time_of_request &lt; last_run</diff>
      <filename>apache_analyzer/apache_analyzer.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>5b7a3751abb26c10b146cb5e400bf32fb8e97a78</id>
    </parent>
  </parents>
  <author>
    <name>Andre Lewis</name>
    <email>andre@highgroove.com</email>
  </author>
  <url>http://github.com/highgroove/scout-plugins/commit/2a2e0d8b06c293903abe3aa0d2de46f1a60016ab</url>
  <id>2a2e0d8b06c293903abe3aa0d2de46f1a60016ab</id>
  <committed-date>2009-10-21T17:07:43-07:00</committed-date>
  <authored-date>2009-10-21T17:07:43-07:00</authored-date>
  <message>comments</message>
  <tree>904da090f4e83ecb0d44c907a01b9d99ec38c706</tree>
  <committer>
    <name>Andre Lewis</name>
    <email>andre@highgroove.com</email>
  </committer>
</commit>
