diff options
author | Sean McGivern <sean@gitlab.com> | 2019-05-31 11:59:21 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-05-31 11:59:21 +0000 |
commit | 4e888212a1cdf5898c5cef69f5a2de909a275d31 (patch) | |
tree | 1fcf81e451b9e33cdba234c3a4a582e51ac7ce72 /lib/gitlab/graphql_logger.rb | |
parent | 1523d0785755f4ba0679bc08ec370d8299b299f0 (diff) | |
parent | 699532232ca27e6079c553261e0ab1d17317472a (diff) | |
download | gitlab-ce-4e888212a1cdf5898c5cef69f5a2de909a275d31.tar.gz |
Merge branch '59587-add-graphql-logging' into 'master'
Add logging to GraphQL
Closes #59587
See merge request gitlab-org/gitlab-ce!27885
Diffstat (limited to 'lib/gitlab/graphql_logger.rb')
-rw-r--r-- | lib/gitlab/graphql_logger.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/gitlab/graphql_logger.rb b/lib/gitlab/graphql_logger.rb new file mode 100644 index 00000000000..43d917908b6 --- /dev/null +++ b/lib/gitlab/graphql_logger.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Gitlab + class GraphqlLogger < Gitlab::JsonLogger + def self.file_name_noext + 'graphql_json' + end + end +end |