rb: Add debug logger message for processing frames
authorKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:20:02 +0000 (01:20 +0000)
committerKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:20:02 +0000 (01:20 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669037 13f79535-47bb-0310-9956-ffa450edef68

lib/rb/lib/thrift/server/nonblockingserver.rb

index 7868bab..70a58b5 100644 (file)
@@ -139,6 +139,7 @@ module Thrift
         @buffers[fd] << fd.readpartial(1048576)
         frame = slice_frame!(@buffers[fd])
         if frame
+          @logger.debug "#{self} is processing a frame"
           @worker_queue.push [:frame, fd, frame]
         end
       end