diff options
Diffstat (limited to 'lib/gitlab/graphql_logger.rb')
-rw-r--r-- | lib/gitlab/graphql_logger.rb | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/gitlab/graphql_logger.rb b/lib/gitlab/graphql_logger.rb index aff3ff5f48d..43d917908b6 100644 --- a/lib/gitlab/graphql_logger.rb +++ b/lib/gitlab/graphql_logger.rb @@ -1,19 +1,9 @@ # frozen_string_literal: true module Gitlab - class GraphqlLogger < Gitlab::Logger + class GraphqlLogger < Gitlab::JsonLogger def self.file_name_noext 'graphql_json' end - - # duration - # complexity - # depth - # sanitized variables (?) - # a structured representation of the query (?) - - def format_message(severity, timestamp, progname, msg) - "#{timestamp.to_s(:long)}: #{msg}\n" - end end end |