Skip to content
Snippets Groups Projects
  1. Aug 28, 2019
  2. Aug 20, 2019
  3. Aug 18, 2019
  4. Aug 16, 2019
  5. Aug 08, 2019
    • Stan Hu's avatar
      Rename githost.log -> git_json.log · 0324028a
      Stan Hu authored
      The githost.log name was often confused with GitHost.io. Rename this to
      git_json.log to make it clear it's coming from Git and that it's JSON
      data.
      0324028a
  6. Jul 25, 2019
  7. Jul 24, 2019
  8. Jul 22, 2019
  9. Jul 05, 2019
  10. Jul 04, 2019
  11. Jun 28, 2019
  12. Jun 18, 2019
  13. May 31, 2019
    • charlie ablett's avatar
      Apply reviewer feedback · 69953223
      charlie ablett authored and charlie ablett's avatar charlie ablett committed
      - Comply doc with guidelines
      - Improve tests for readability and completeness
      - Separate out phases visually with newlines
      - Add `format_message` test
      - test readability
      - code and test structure/styling
      - static query analyzers
      - call `as_json` on `provided_variables`
      - add exception handling
      69953223
  14. May 30, 2019
  15. May 24, 2019
  16. Mar 27, 2019
  17. Feb 25, 2019
  18. Feb 12, 2019
    • Stan Hu's avatar
      Log queue duration in production_json.log · 51ca7922
      Stan Hu authored
      `queue_duration` is a useful metric that is currently in api_json.log
      but not in production_json.log. We should add it because it tells us how
      long the request sat in Workhorse before Unicorn processed it. Having
      this field enables the support team to better troubleshoot when delays
      began to happen.
      51ca7922
  19. Nov 27, 2018
  20. Nov 13, 2018
  21. Oct 29, 2018
  22. Oct 18, 2018
    • Stan Hu's avatar
      Add support for JSON logging for audit events · 143d0e26
      Stan Hu authored
      This will add audit_json.log that writes one line per audit event. For
      example:
      
      {
             "severity":"INFO",
             "time":"2018-10-17T17:38:22.523Z",
             "author_id":3,
             "entity_id":2,
             "entity_type":"Project",
             "change":"visibility",
             "from":"Private",
             "to":"Public",
             "author_name":"John Doe4",
             "target_id":2,
             "target_type":"Project",
             "target_details":"namespace2/project2"
      }
      143d0e26
  23. Sep 25, 2018
  24. Sep 06, 2018
  25. Aug 30, 2018
  26. Apr 04, 2018
  27. Apr 02, 2018
    • Stan Hu's avatar
      Move Sidekiq exporter logs to log/sidekiq_exporter.log · 05e1cbc4
      Stan Hu authored
      The Sidekiq exporter logs were mixing with the normal Sidekiq logs. In order
      to support structured logging in Sidekiq, we either need to split this data
      out or convert the exporter to produce structured logs. Since Sidekiq job
      processing is fundamentally different information from Web server traffic,
      it seems cleaner to move the metrics traffic into a separate file, where they
      can be parsed by a different filter if needed.
      
      Relates to #20060
      05e1cbc4
  28. Mar 01, 2018
  29. Feb 20, 2018
  30. Nov 06, 2017
  31. Oct 21, 2017
  32. Oct 19, 2017
  33. Aug 08, 2017
  34. Dec 15, 2016
  35. Nov 03, 2016
    • Lukas Erlacher's avatar
      Show log corresponding to env in admin/logs · e900e53a
      Lukas Erlacher authored
      No matter which environment Gitlab was running as, the admin/logs view
      always showed production.log. This commit selects the logfile based
      on Rails.env.
      
      - Rename ProductionLogger to EnvironmentLogger
      - Make EnvironmentLogger logfile depend on env
      - Update spinach test for log tabs
      e900e53a
  36. Jun 16, 2016
  37. Jun 13, 2016
  38. Jun 03, 2016
Loading