Kouhei Sutou
null+****@clear*****
Thu Apr 13 09:47:28 JST 2017
Kouhei Sutou 2017-04-13 09:47:28 +0900 (Thu, 13 Apr 2017) New Revision: d41eb4f9de82b4d97cdc37b3bb03191fd9cd1d40 https://github.com/groonga/fluent-plugin-groonga/commit/d41eb4f9de82b4d97cdc37b3bb03191fd9cd1d40 Message: in: fix "no method error" Modified files: lib/fluent/plugin/in_groonga.rb Modified: lib/fluent/plugin/in_groonga.rb (+7 -3) =================================================================== --- lib/fluent/plugin/in_groonga.rb 2017-04-13 09:42:17 +0900 (bacf900) +++ lib/fluent/plugin/in_groonga.rb 2017-04-13 09:47:28 +0900 (bd6b637) @@ -169,13 +169,17 @@ module Fluent params) end + def log + @input_plugin.log + end + private def run @loop.run rescue - @input_plugin.log.error("[input][groonga][error] unexpected error", - :error => "#{$!.class}: #{$!}") - @input_plugin.log.error_backtrace + log.error("[input][groonga][error] unexpected error", + :error => "#{$!.class}: #{$!}") + log.error_backtrace end def emit_command?(command) -------------- next part -------------- HTML����������������������������...ダウンロード