Kouhei Sutou
null+****@clear*****
Fri Mar 30 09:49:44 JST 2018
Kouhei Sutou 2018-03-30 09:49:44 +0900 (Fri, 30 Mar 2018) New Revision: 69b2e8dcdf8f90364e474b7b28be63fc16f15e79 https://github.com/groonga/groonga/commit/69b2e8dcdf8f90364e474b7b28be63fc16f15e79 Message: mrb: simplify Modified files: lib/mrb/scripts/command_line/grndb.rb Modified: lib/mrb/scripts/command_line/grndb.rb (+1 -1) =================================================================== --- lib/mrb/scripts/command_line/grndb.rb 2018-03-30 09:48:42 +0900 (5236144a1) +++ lib/mrb/scripts/command_line/grndb.rb 2018-03-30 09:49:44 +0900 (105e7e3a5) @@ -479,7 +479,7 @@ module Groonga File.unlink("#{object_dirname}/#{path}") message = "Corrupted <#{object_path}> related file is removed: <#{path}>" $stdout.puts(message) - logger.log(Logger::Level::INFO.to_i, __FILE__, __LINE__, "truncate_corrupt_objects", message) + logger.log(:info, message) rescue Error => error message = "Failed to remove file which is related to corrupted <#{object_path}>: <#{path}>" $stderr.puts(message) -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180330/4684a045/attachment.htm