[Groonga-commit] droonga/fluent-plugin-droonga at 063f15e [master] Use "logger" instead of Logger

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 28 12:48:51 JST 2014


Kouhei Sutou	2014-02-28 12:48:51 +0900 (Fri, 28 Feb 2014)

  New Revision: 063f15e06e528f094c54e909df5d1acf1a2bf270
  https://github.com/droonga/fluent-plugin-droonga/commit/063f15e06e528f094c54e909df5d1acf1a2bf270

  Message:
    Use "logger" instead of Logger

  Modified files:
    lib/droonga/dispatcher.rb

  Modified: lib/droonga/dispatcher.rb (+1 -1)
===================================================================
--- lib/droonga/dispatcher.rb    2014-02-28 12:33:16 +0900 (8825225)
+++ lib/droonga/dispatcher.rb    2014-02-28 12:48:51 +0900 (d3109ab)
@@ -101,7 +101,7 @@ module Droonga
           reply("statusCode" => error.status_code,
                 "body"       => error.response_body)
         rescue StandardError, LoadError, SyntaxError => error
-          Logger.error("failed to process input message", error)
+          logger.exception("failed to process input message", error)
           formatted_error = ErrorMessages::InternalServerError.new("Unknown internal error")
           reply("statusCode" => formatted_error.status_code,
                 "body"       => formatted_error.response_body)
-------------- next part --------------
HTML����������������������������...
Download 



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