[Groonga-commit] droonga/droonga-engine at bd7eb3e [master] Log more processes on the trace level

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Sep 5 18:44:26 JST 2014


YUKI Hiroshi	2014-09-05 18:44:26 +0900 (Fri, 05 Sep 2014)

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

  Message:
    Log more processes on the trace level

  Modified files:
    lib/droonga/command/droonga_engine_service.rb
    lib/droonga/supervisor.rb

  Modified: lib/droonga/command/droonga_engine_service.rb (+2 -0)
===================================================================
--- lib/droonga/command/droonga_engine_service.rb    2014-09-05 17:55:03 +0900 (5a9f95a)
+++ lib/droonga/command/droonga_engine_service.rb    2014-09-05 18:44:26 +0900 (ce16ca4)
@@ -204,12 +204,14 @@ module Droonga
 
       def stop_gracefully
         return if @stopping
+        logger.trace("stop_gracefully: start")
         @stopping = true
         @receiver.stop_gracefully
         @engine.stop_gracefully do
           shutdown_worker_process_agent
           shutdown_internal_message_receiver
           logger.trace("loop watchers = #{@loop.watchers}")
+          logger.trace("stop_gracefully: done")
         end
       end
 

  Modified: lib/droonga/supervisor.rb (+4 -0)
===================================================================
--- lib/droonga/supervisor.rb    2014-09-05 17:55:03 +0900 (44a52d9)
+++ lib/droonga/supervisor.rb    2014-09-05 18:44:26 +0900 (4d3eb7f)
@@ -45,9 +45,11 @@ module Droonga
     end
 
     def stop_gracefully
+      logger.trace("stop_gracefully: start")
       @worker_runners.each do |worker_runner|
         worker_runner.stop_gracefully
       end
+      logger.trace("stop_gracefully: done")
     end
 
     def stop_immediately
@@ -118,7 +120,9 @@ module Droonga
       end
 
       def stop_gracefully
+        logger.trace("stop_gracefully: start")
         @supervisor.stop_gracefully
+        logger.trace("stop_gracefully: done")
       end
 
       def stop_immediately
-------------- next part --------------
HTML����������������������������...
Download 



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