1. 14 8月, 2017 1 次提交
  2. 12 8月, 2017 1 次提交
  3. 11 8月, 2017 1 次提交
  4. 09 8月, 2017 2 次提交
  5. 08 8月, 2017 4 次提交
  6. 07 8月, 2017 1 次提交
  7. 04 8月, 2017 3 次提交
  8. 02 8月, 2017 1 次提交
  9. 01 8月, 2017 1 次提交
  10. 29 7月, 2017 1 次提交
  11. 28 7月, 2017 1 次提交
  12. 27 7月, 2017 3 次提交
  13. 26 7月, 2017 3 次提交
  14. 25 7月, 2017 3 次提交
  15. 24 7月, 2017 3 次提交
  16. 21 7月, 2017 1 次提交
  17. 20 7月, 2017 3 次提交
  18. 19 7月, 2017 2 次提交
    • P
    • S
      Add structured logging for Rails processes · e2b1c16a
      Stan Hu 提交于
      This introduces JSON logging for Rails views saved to a file called
      `development_json.log`, `production_json.log`, etc.
      
      For example, instead of this unparsable log:
      
      ```
      Started GET "/" for 127.0.0.1 at 2012-03-10 14:28:14 +0100
      Processing by HomeController#index as HTML
        Rendered text template within layouts/application (0.0ms)
        Rendered layouts/_assets.html.erb (2.0ms)
        Rendered layouts/_top.html.erb (2.6ms)
        Rendered layouts/_about.html.erb (0.3ms)
        Rendered layouts/_google_analytics.html.erb (0.4ms)
      Completed 200 OK in 79ms (Views: 78.8ms | ActiveRecord: 0.0ms)
      ```
      
      We get a single line with this:
      
      ```
      {"method":"GET","path":"/,"format":"html","controller":"HomeController","action":"index","status":200,"duration":79,"view":78.8,"db":0.0,"location":"http://localhost/","time":"2017-07-18 09:35:17 -0700"}
      ```
      
      Part of #20060
      e2b1c16a
  19. 18 7月, 2017 2 次提交
  20. 16 7月, 2017 1 次提交
  21. 14 7月, 2017 1 次提交
  22. 11 7月, 2017 1 次提交