summaryrefslogtreecommitdiff
path: root/lib/gitlab/graphql_logger.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/graphql_logger.rb')
-rw-r--r--lib/gitlab/graphql_logger.rb9
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