<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,7 +10,6 @@ module Necktie
       @rakefiles = [&quot;Necktie&quot;, &quot;necktie&quot;, &quot;Necktie.rb&quot;, &quot;necktie.rb&quot;]
       options.nosearch = true
       options.env = &quot;production&quot;
-      @syslog = Syslog.open(&quot;necktie&quot;)
     end
 
     def run
@@ -142,7 +141,10 @@ module Necktie
     end
 
     def syslog(level, message)
-      @syslog.send level, &quot;[#{@sha}] #{message.strip.gsub(/%/, '%%')}&quot; # syslog(3) freaks on % (printf)
+      Syslog.open(&quot;necktie&quot;) do |s|
+        # syslog(3) freaks on % (printf)
+        s.send level, &quot;[#{@sha}] #{message.strip.gsub(/%/, '%%')}&quot;
+      end
     end
 
   end</diff>
      <filename>lib/necktie/application.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>23d1239102d5818018b306e12ebc1411585eebc2</id>
    </parent>
  </parents>
  <author>
    <name>Jeff Hodges</name>
    <email>jeff@somethingsimilar.com</email>
  </author>
  <url>http://github.com/assaf/necktie/commit/c9ba0849bd272e0c2642e80f42ebda6066088ed1</url>
  <id>c9ba0849bd272e0c2642e80f42ebda6066088ed1</id>
  <committed-date>2009-11-06T13:29:26-08:00</committed-date>
  <authored-date>2009-11-06T13:10:28-08:00</authored-date>
  <message>Syslog has a terrible API. This prevents us from editing the Syslog
global for too long.</message>
  <tree>8cbe9866bb1e17b7a82dd8405c8b8877018aa078</tree>
  <committer>
    <name>Assaf Arkin</name>
    <email>assaf@labnotes.org</email>
  </committer>
</commit>
