summaryrefslogtreecommitdiff
path: root/lib/api/api.rb
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2018-09-03 18:03:32 +0100
committerAndrew Newdigate <andrew@gitlab.com>2018-09-05 10:01:26 +0100
commit189b063ee15d3751fb7b03a0794edfdb60893eb8 (patch)
tree1485fd4f9684077c219f31a50a676fccd1ad3f25 /lib/api/api.rb
parent91003c6ebb764c9cf3fe01a14d6213b26c09dcc8 (diff)
downloadgitlab-ce-189b063ee15d3751fb7b03a0794edfdb60893eb8.tar.gz
Add route information to lograge structured logging
Diffstat (limited to 'lib/api/api.rb')
-rw-r--r--lib/api/api.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/api.rb b/lib/api/api.rb
index 850cef26449..843f75d3096 100644
--- a/lib/api/api.rb
+++ b/lib/api/api.rb
@@ -15,6 +15,7 @@ module API
include: [
GrapeLogging::Loggers::FilterParameters.new,
GrapeLogging::Loggers::ClientEnv.new,
+ Gitlab::GrapeLogging::Loggers::RouteLogger.new,
Gitlab::GrapeLogging::Loggers::UserLogger.new,
Gitlab::GrapeLogging::Loggers::QueueDurationLogger.new,
Gitlab::GrapeLogging::Loggers::PerfLogger.new