Kouhei Sutou
null+****@clear*****
Fri Dec 13 19:05:20 JST 2013
Kouhei Sutou 2013-12-13 19:05:20 +0900 (Fri, 13 Dec 2013) New Revision: 84e3194bf987ce7b8b035bb742c335e064a5fe04 https://github.com/droonga/fluent-plugin-droonga/commit/84e3194bf987ce7b8b035bb742c335e064a5fe04 Message: Name anonymous data Modified files: lib/droonga/fluent_message_sender.rb Modified: lib/droonga/fluent_message_sender.rb (+2 -1) =================================================================== --- lib/droonga/fluent_message_sender.rb 2013-12-13 19:04:54 +0900 (9be98cf) +++ lib/droonga/fluent_message_sender.rb 2013-12-13 19:05:20 +0900 (ff6e338) @@ -40,7 +40,8 @@ module Droonga def send(tag, data) $log.trace("#{log_tag}: send: start") connect if****@socke*****? - @socket.write([tag, Time.now.to_i, data].to_msgpack) + fluent_message = [tag, Time.now.to_i, data].to_msgpack + @socket.write(fluent_message) @loop.break_current_loop $log.trace("#{log_tag}: send: done") end -------------- next part -------------- HTML����������������������������... Descargar