<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -37,10 +37,10 @@ class Foo
 
   def connection_completed
     puts &quot;calling connection completed&quot;
-    #add_periodic_timer(4) { send_data(&quot;hello\n&quot;)}
+    # add_periodic_timer(4) { send_data(&quot;hello\n&quot;)}
     # start_worker(:worker =&gt; :dynamic1_worker, :job_key =&gt; :hello_world)
-#     100.times do |i|
-#       thread_pool.defer(i) do |j|
+    #     100.times do |i|
+    #       thread_pool.defer(i) do |j|
 #         puts &quot;Starting work for #{j} : #{j.class}&quot;
 #         sleep(1)
 #         puts &quot;Work done for #{j}&quot;</diff>
      <filename>bin/runner.rb</filename>
    </modified>
    <modified>
      <diff>@@ -109,10 +109,14 @@ module Packet
         [worker_read_end,worker_write_end].each { |x| enable_nonblock(x) }
         begin
           if(ARGV[0] == 'start' &amp;&amp; Object.const_defined?(:SERVER_LOGGER))
-            log_file = File.open(SERVER_LOGGER,&quot;a&quot;)
-            [STDIN, STDOUT, STDERR].each {|desc| desc.reopen(log_file)}
+            STDOUT.sync = true
+            STDERR.sync = true
+            log_file = File.open(SERVER_LOGGER,&quot;w+&quot;)
+            [STDOUT, STDERR].each {|desc| desc.reopen(log_file)}
           end
-        rescue; end
+        rescue
+          puts $!.backtrace
+        end
         exec form_cmd_line(worker_read_end.fileno,worker_write_end.fileno,t_worker_name,option_dump_length)
       end
       Process.detach(pid)</diff>
      <filename>lib/packet/packet_master.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e2a9647b30f760e8c31ec912448b218a52b3dae8</id>
    </parent>
  </parents>
  <author>
    <name>gnufied</name>
    <email>gethemant@gmail.com</email>
  </author>
  <url>http://github.com/gnufied/packet/commit/31c933584ac6c564af675e9eb084f1619dff8be9</url>
  <id>31c933584ac6c564af675e9eb084f1619dff8be9</id>
  <committed-date>2009-01-04T07:02:59-08:00</committed-date>
  <authored-date>2009-01-04T07:02:59-08:00</authored-date>
  <message>sync the stdout and stdin</message>
  <tree>d1e8b49cc2e54aab36f2931a076b571cd532b1eb</tree>
  <committer>
    <name>gnufied</name>
    <email>gethemant@gmail.com</email>
  </committer>
</commit>
