[Groonga-commit] groonga/groonga-query-log at d941172 [master] analyzer reporter json-stream: use one line for one statistic

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jul 23 13:33:25 JST 2014


Kouhei Sutou	2014-07-23 13:33:25 +0900 (Wed, 23 Jul 2014)

  New Revision: d941172b511a3ecbca77af21f7de7cd34755eb26
  https://github.com/groonga/groonga-query-log/commit/d941172b511a3ecbca77af21f7de7cd34755eb26

  Message:
    analyzer reporter json-stream: use one line for one statistic

  Modified files:
    lib/groonga/query-log/analyzer/reporter/json-stream.rb

  Modified: lib/groonga/query-log/analyzer/reporter/json-stream.rb (+1 -1)
===================================================================
--- lib/groonga/query-log/analyzer/reporter/json-stream.rb    2014-07-23 13:16:01 +0900 (5c0273b)
+++ lib/groonga/query-log/analyzer/reporter/json-stream.rb    2014-07-23 13:33:25 +0900 (a328c1f)
@@ -41,7 +41,7 @@ module Groonga
 
         private
         def format_statistic(statistic)
-          JSON.pretty_generate(statistic.to_hash)
+          JSON.generate(statistic.to_hash)
         end
       end
     end
-------------- next part --------------
HTML����������������������������...
Download 



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