[Groonga-commit] droonga/droonga-engine at 08c1c18 [master] Output more trace log for session

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Apr 1 20:13:57 JST 2015


YUKI Hiroshi	2015-04-01 20:13:57 +0900 (Wed, 01 Apr 2015)

  New Revision: 08c1c18a1bc2e59165a11dcf529e7fef8be1ce8c
  https://github.com/droonga/droonga-engine/commit/08c1c18a1bc2e59165a11dcf529e7fef8be1ce8c

  Message:
    Output more trace log for session

  Modified files:
    lib/droonga/dispatcher.rb

  Modified: lib/droonga/dispatcher.rb (+2 -1)
===================================================================
--- lib/droonga/dispatcher.rb    2015-04-01 19:44:28 +0900 (7fa7b35)
+++ lib/droonga/dispatcher.rb    2015-04-01 20:13:57 +0900 (35d6cc2)
@@ -163,7 +163,7 @@ module Droonga
       id = message["id"]
       session = @engine_state.find_session(id)
       if session
-        logger.trace("process_internal_message: session exists")
+        logger.trace("process_internal_message: session exists", :session => session)
         session.receive(message["input"], message["value"])
       else
         logger.trace("process_internal_message: no session")
@@ -173,6 +173,7 @@ module Droonga
           dataset = message["dataset"] || @message["dataset"]
           collector_runner = @collector_runners[dataset]
           session = session_planner.create_session(id, self, collector_runner)
+          logger.trace("process_internal_message: session created", :session => session)
           @engine_state.register_session(id, session)
         else
           logger.error("no steps error", :id => id, :message => message)
-------------- next part --------------
HTML����������������������������...
다운로드 



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