Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcharlie ablett <cablett@gitlab.com>2019-05-24 01:43:47 +0300
committercharlieablett <cablett@gitlab.com>2019-05-31 10:57:02 +0300
commit699532232ca27e6079c553261e0ab1d17317472a (patch)
tree47c7e56de28ba1857add8ea13627de07936e117e /doc/administration/logs.md
parent5f0c230a18b677bd4ec6a4a54085775b0c69a498 (diff)
Apply reviewer feedback
- 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/logs.md')
-rw-r--r--doc/administration/logs.md7
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