Commit graph

18 commits

Author SHA1 Message Date
Dylan Griffith
7e7fb6deba Use JSON logging for helm install services 2018-11-27 15:23:02 +01:00
Evan Read
20146580a0 Resolve Markdown ordered lists not conforming to styleguide 2018-11-13 10:53:38 +10:00
Andrew Newdigate
9a25cfc80b Fix open-ended params for api_json.log 2018-10-29 13:44:09 +00:00
Stan Hu
143d0e2666 Add support for JSON logging for audit events
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"
}
2018-10-18 15:59:12 -07:00
Marcel Amirault
fd7358a8cd Correct Gitlab to GitLab in docs 2018-09-25 04:57:57 +00:00
Felipe Artur
9710cda30e Move project services log to a separate file 2018-09-06 14:48:31 -03:00
Stan Hu
e850d4ea6c Add JSON logging for Bitbucket Server importer
Adds an importer.log so that it's easier to track what's happening with the import.
2018-08-30 10:58:31 -07:00
Stan Hu
6415ac9e99 Add support for Sidekiq JSON logging
Closes #20060
2018-04-04 05:04:00 -07:00
Stan Hu
05e1cbc4ca Move Sidekiq exporter logs to log/sidekiq_exporter.log
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
2018-04-02 08:58:17 -07:00
Andrew Newdigate
c2da455559 Update documentation WRT to request parameters 2018-03-01 17:45:16 +00:00
Diana Stanley
c8fb31f724 add lines describing how to find user clone/fetch activity 2018-02-19 16:01:23 -08:00
Stan Hu
1400ffae1b Add reconfigure docs to CE 2017-11-06 17:49:54 +02:00
Stan Hu
f452da7c02 Add docs for api_json.log file
[ci skip]
2017-10-18 22:11:23 -07:00
Stan Hu
07ddbbb4e9 Add docs on structured logging in GitLab
[ci skip]
2017-08-08 14:20:48 -07:00
Achilleas Pipinellis
a074ad5e77 Fix headings in administration/logs.md
[ci skip]
2016-12-15 15:18:06 +01:00
Achilleas Pipinellis
84c319b62c Document repocheck.log in logs docs
[ci skip]
2016-12-15 15:14:44 +01:00
Lukas Erlacher
e900e53aa5 Show log corresponding to env in admin/logs
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
2016-11-03 22:02:47 +01:00
Achilleas Pipinellis
35e9fc9865 Move logs/logs.md to administration/logs.md
[ci skip]
2016-06-13 13:52:20 +02:00