1. 07 Aug, 2017 1 commit
  2. 03 Aug, 2017 3 commits
  3. 02 Aug, 2017 1 commit
  4. 01 Aug, 2017 1 commit
  5. 27 Jul, 2017 4 commits
  6. 26 Jul, 2017 3 commits
  7. 25 Jul, 2017 3 commits
  8. 24 Jul, 2017 2 commits
  9. 20 Jul, 2017 3 commits
  10. 19 Jul, 2017 2 commits
  11. 18 Jul, 2017 2 commits
    • Stan Hu's avatar
      Add structured logging for Rails processes · e2b1c16a
      Stan Hu authored
      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
    • Rémy Coutable's avatar
  12. 17 Jul, 2017 1 commit
  13. 16 Jul, 2017 1 commit
  14. 14 Jul, 2017 1 commit
  15. 11 Jul, 2017 1 commit
  16. 10 Jul, 2017 2 commits
  17. 09 Jul, 2017 1 commit
  18. 08 Jul, 2017 1 commit
  19. 07 Jul, 2017 3 commits
  20. 04 Jul, 2017 1 commit
  21. 03 Jul, 2017 1 commit
  22. 27 Jun, 2017 2 commits