diff options
author | charlieablett <cablett@gitlab.com> | 2019-05-23 21:40:58 +1200 |
---|---|---|
committer | charlieablett <cablett@gitlab.com> | 2019-05-30 18:27:42 +1200 |
commit | d0e32c2cd33476c5ee7f835d14b97068adeb805d (patch) | |
tree | 5473331816e37ddcc07f776807efab6b6a707de3 /doc | |
parent | 184a5120dc764d33cece108fbc85b0ec96f7c050 (diff) | |
download | gitlab-ce-d0e32c2cd33476c5ee7f835d14b97068adeb805d.tar.gz |
Add `graphql_json` logfile documentation
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/logs.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/administration/logs.md b/doc/administration/logs.md index a7e57e44e86..87460eb6fd2 100644 --- a/doc/administration/logs.md +++ b/doc/administration/logs.md @@ -288,6 +288,19 @@ installations from source. It logs information whenever [Rack Attack] registers an abusive request. +## `graphql_json.log` + +Introduced 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: + +```json +{"query_string":"query IntrospectionQuery{__schema {queryType { name },mutationType { name }}}...(etc)","variables":{"a":1,"b":2},"complexity":181,"depth":1,"duration":"7ms"} +``` + ## Reconfigure Logs Reconfigure log files live in `/var/log/gitlab/reconfigure` for Omnibus GitLab |