[Groonga-commit] droonga/droonga-engine at 1887c52 [buffered-forward] Don't inspect if not needed

Zurück zum Archiv-Index

YUKI Hiroshi null+****@clear*****
Wed Dec 24 19:16:54 JST 2014


YUKI Hiroshi	2014-12-24 19:16:54 +0900 (Wed, 24 Dec 2014)

  New Revision: 1887c521b9dd4a434c2b8d192826d4d316f20ecd
  https://github.com/droonga/droonga-engine/commit/1887c521b9dd4a434c2b8d192826d4d316f20ecd

  Message:
    Don't inspect if not needed

  Modified files:
    lib/droonga/dispatcher.rb

  Modified: lib/droonga/dispatcher.rb (+4 -2)
===================================================================
--- lib/droonga/dispatcher.rb    2014-12-24 18:26:40 +0900 (c10dfe9)
+++ lib/droonga/dispatcher.rb    2014-12-24 19:16:54 +0900 (cc487a9)
@@ -194,10 +194,12 @@ module Droonga
         if dataset
           if write_step?(step)
             target_nodes = @engine_state.writable_nodes
-            logger.trace("dispatch_steps: target_nodes = writable_nodes = #{target_nodes.inspect}")
+            logger.trace("dispatch_steps: target_nodes = writable_nodes",
+                         :nodes => target_nodes)
           else
             target_nodes = @engine_state.forwardable_nodes
-            logger.trace("dispatch_steps: target_nodes = forwardable_nodes = #{target_nodes.inspect}")
+            logger.trace("dispatch_steps: target_nodes = forwardable_nodes",
+                         :nodes => target_nodes)
           end
           routes = dataset.compute_routes(step, target_nodes)
           step["routes"] = routes
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index