[Groonga-commit] droonga/droonga-engine at 383b894 [master] Reduce annoying trace logs around watchers

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 15 21:21:25 JST 2015


YUKI Hiroshi	2015-04-15 21:21:25 +0900 (Wed, 15 Apr 2015)

  New Revision: 383b894ed8ad03c9eff88a8f322e288b64eeab2a
  https://github.com/droonga/droonga-engine/commit/383b894ed8ad03c9eff88a8f322e288b64eeab2a

  Message:
    Reduce annoying trace logs around watchers

  Modified files:
    lib/droonga/fluent_message_sender.rb

  Modified: lib/droonga/fluent_message_sender.rb (+6 -6)
===================================================================
--- lib/droonga/fluent_message_sender.rb    2015-04-15 21:20:03 +0900 (fc94761)
+++ lib/droonga/fluent_message_sender.rb    2015-04-15 21:21:25 +0900 (3e5073a)
@@ -111,10 +111,10 @@ module Droonga
         on_close.call
       end
       @loop.attach(@socket)
-      logger.trace("connect: new socket watcher attached",
-                   :watcher => @socket,
-                   :host => @host,
-                   :port => @port)
+      # logger.trace("connect: new socket watcher attached",
+      #              :watcher => @socket,
+      #              :host => @host,
+      #              :port => @port)
 
       logger.trace("connect: done")
     end
@@ -122,8 +122,8 @@ module Droonga
     def shutdown_socket
       return unless connected?
       unles****@socke*****?
-        logger.trace("shutdown_socket: socket watcher detaching",
-                     :watcher => @socket)
+        # logger.trace("shutdown_socket: socket watcher detaching",
+        #              :watcher => @socket)
         @socket.close
         logger.trace("shutdown_socket: socket watcher detached")
       end
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index