[Groonga-commit] groonga/groonga-query-log at 688f4c0 [master] check-crash: mark lock related logs important

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Tue Sep 4 11:06:02 JST 2018


Kouhei Sutou	2018-09-04 11:06:02 +0900 (Tue, 04 Sep 2018)

  Revision: 688f4c01305d6683f7dfd47f7284ec7a9848c68b
  https://github.com/groonga/groonga-query-log/commit/688f4c01305d6683f7dfd47f7284ec7a9848c68b

  Message:
    check-crash: mark lock related logs important

  Modified files:
    lib/groonga-query-log/command/check-crash.rb

  Modified: lib/groonga-query-log/command/check-crash.rb (+5 -0)
===================================================================
--- lib/groonga-query-log/command/check-crash.rb    2018-08-31 10:53:46 +0900 (04ecb0f)
+++ lib/groonga-query-log/command/check-crash.rb    2018-09-04 11:06:02 +0900 (46f8d16)
@@ -289,6 +289,11 @@ module GroongaQueryLog
               GroongaProcess.new(entry.pid, Time.at(0), path)
             process = @running_processes[entry.pid]
             case entry.log_level
+            when :notice
+              case entry.message
+              when /lock/
+                process.important_entries << entry
+              end
             when :emergency, :alert, :critical, :error
               process.important_entries << entry
             end
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180904/080f1aa3/attachment.htm 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る