diff options
author | charlie ablett <cablett@gitlab.com> | 2019-05-23 22:43:47 +0000 |
---|---|---|
committer | charlieablett <cablett@gitlab.com> | 2019-05-31 19:57:02 +1200 |
commit | 699532232ca27e6079c553261e0ab1d17317472a (patch) | |
tree | 47c7e56de28ba1857add8ea13627de07936e117e /doc/administration | |
parent | 5f0c230a18b677bd4ec6a4a54085775b0c69a498 (diff) | |
download | gitlab-ce-699532232ca27e6079c553261e0ab1d17317472a.tar.gz |
Apply reviewer feedback59587-add-graphql-logging
- 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
Diffstat (limited to 'doc/administration')
-rw-r--r-- | doc/administration/logs.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/administration/logs.md b/doc/administration/logs.md index 87460eb6fd2..ac41f9177dd 100644 --- a/doc/administration/logs.md +++ b/doc/administration/logs.md @@ -290,15 +290,16 @@ It logs information whenever [Rack Attack] registers an abusive request. ## `graphql_json.log` -Introduced in Gitlab 12.0. +> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/59587) in GitLab 12.0. + This file lives in `/var/log/gitlab/gitlab-rails/graphql_json.log` for Omnibus GitLab packages or in `/home/git/gitlab/log/graphql_json.log` for installations from source. -GraphQL queries are recorded here. For example: +GraphQL queries are recorded in that file. For example: ```json -{"query_string":"query IntrospectionQuery{__schema {queryType { name },mutationType { name }}}...(etc)","variables":{"a":1,"b":2},"complexity":181,"depth":1,"duration":"7ms"} +{"query_string":"query IntrospectionQuery{__schema {queryType { name },mutationType { name }}}...(etc)","variables":{"a":1,"b":2},"complexity":181,"depth":1,"duration":7} ``` ## Reconfigure Logs |