<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -60,12 +60,11 @@ unless caller.find { |l| l.match(/rake\.rb/) or l.match(/generate\.rb/) }
     # the type of engine to use
 
   unless h[:logger]
-    h[:logger] = Logger.new(&quot;log/ruote_#{RAILS_ENV}.log&quot;, 10, 1024000)
-    #h[:logger].level = (RAILS_ENV == 'production') ? Logger::INFO : Logger::DEBUG
-    h[:logger].level = Logger::INFO
+    h[:logger] = ActiveSupport::BufferedLogger.new(&quot;#{RAILS_ROOT}/log/ruote_#{RAILS_ENV}.log&quot;)
+    h[:logger].level = ActiveSupport::BufferedLogger::INFO if Rails.env.production?
   end
 
-  h[:work_directory] ||= &quot;work_#{RAILS_ENV}&quot;
+  h[:work_directory] ||= &quot;#{RAILS_ROOT}/work_#{RAILS_ENV}&quot;
 
   h[:ruby_eval_allowed] ||= true
     # the 'reval' expression and the ${r:some_ruby_code} notation are allowed</diff>
      <filename>init.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b2a0ce9ef21606921c6ffc527e6aefab91c47784</id>
    </parent>
  </parents>
  <author>
    <name>Kenneth Kalmer</name>
    <email>kenneth.kalmer@gmail.com</email>
  </author>
  <url>http://github.com/jmettraux/ruote_plugin/commit/9a33ea86bc3da375b28ab2b751cced2a3fe48810</url>
  <id>9a33ea86bc3da375b28ab2b751cced2a3fe48810</id>
  <committed-date>2009-03-31T04:24:54-07:00</committed-date>
  <authored-date>2009-03-31T04:24:54-07:00</authored-date>
  <message>Fixed some missing RAILS_ROOT references, switch to ActiveSupport's BufferedLogger</message>
  <tree>f894147f999448a3d35c017c803796cdc4ad491f</tree>
  <committer>
    <name>Kenneth Kalmer</name>
    <email>kenneth.kalmer@gmail.com</email>
  </committer>
</commit>
