YUKI Hiroshi
null+****@clear*****
Wed Apr 15 22:00:54 JST 2015
YUKI Hiroshi 2015-04-15 22:00:54 +0900 (Wed, 15 Apr 2015) New Revision: f0c314037000009ebdf8910c149b9065a6362223 https://github.com/droonga/droonga-engine/commit/f0c314037000009ebdf8910c149b9065a6362223 Message: Reduce annoying trace log around watchers Modified files: lib/droonga/serf/agent.rb Modified: lib/droonga/serf/agent.rb (+8 -8) =================================================================== --- lib/droonga/serf/agent.rb 2015-04-15 21:58:15 +0900 (d9e0032) +++ lib/droonga/serf/agent.rb 2015-04-15 22:00:54 +0900 (ae902d4) @@ -194,8 +194,8 @@ module Droonga on_connect = lambda do on_ready checker.close - logger.trace("start_ready_check: checker watcher detached", - :watcher => checker) + # logger.trace("start_ready_check: checker watcher detached", + # :watcher => checker) end checker.on_connect do on_connect.call @@ -209,15 +209,15 @@ module Droonga on_timer = lambda do start_ready_check timer.detach - logger.trace("start_ready_check: timer watcher detached", - :watcher => timer) + # logger.trace("start_ready_check: timer watcher detached", + # :watcher => timer) end timer.on_timer do on_timer.call end @loop.attach(timer) - logger.trace("start_ready_check: new timer watcher attached", - :watcher => timer) + # logger.trace("start_ready_check: new timer watcher attached", + # :watcher => timer) end end checker.on_connect_failed do @@ -225,8 +225,8 @@ module Droonga end @loop.attach(checker) - logger.trace("start_ready_check: new checker watcher attached", - :watcher => checker) + # logger.trace("start_ready_check: new checker watcher attached", + # :watcher => checker) end def log_tag -------------- next part -------------- HTML����������������������������... Download