[Groonga-commit] groonga/fluent-plugin-groonga at 9e5c00b [master] out: use $log

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 5 15:39:10 JST 2014


Kouhei Sutou	2014-11-05 15:39:10 +0900 (Wed, 05 Nov 2014)

  New Revision: 9e5c00b185820553a06a7ecb90dab0c8a6c1902a
  https://github.com/groonga/fluent-plugin-groonga/commit/9e5c00b185820553a06a7ecb90dab0c8a6c1902a

  Message:
    out: use $log

  Modified files:
    lib/fluent/plugin/out_groonga.rb

  Modified: lib/fluent/plugin/out_groonga.rb (+6 -6)
===================================================================
--- lib/fluent/plugin/out_groonga.rb    2014-11-05 15:38:27 +0900 (743e7a9)
+++ lib/fluent/plugin/out_groonga.rb    2014-11-05 15:39:10 +0900 (2395fdc)
@@ -656,14 +656,14 @@ module Fluent
         end
 
         unless output_message.empty?
-          Engine.log.debug("[output][groonga][output]",
-                           :context => context,
-                           :message => output_message)
+          $log.debug("[output][groonga][output]",
+                     :context => context,
+                     :message => output_message)
         end
         unless error_message.empty?
-          Engine.log.error("[output][groonga][error]",
-                           :context => context,
-                           :message => error_message)
+          $log.error("[output][groonga][error]",
+                     :context => context,
+                     :message => error_message)
         end
       end
     end
-------------- next part --------------
HTML����������������������������...
Download 



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