From b60cebb931581a76d3976904ba4b04f6dcab8938 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Wed, 13 Sep 2017 01:25:33 -0700 Subject: [PATCH] Exclude logging of API responses to prevent leakage of confidential data --- lib/api/api.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/api/api.rb b/lib/api/api.rb index ee4e1688e12..79e55a2f4f7 100644 --- a/lib/api/api.rb +++ b/lib/api/api.rb @@ -8,7 +8,6 @@ module API logger: Logger.new(LOG_FILENAME), formatter: Gitlab::GrapeLogging::Formatters::LogrageWithTimestamp.new, include: [ - GrapeLogging::Loggers::Response.new, GrapeLogging::Loggers::FilterParameters.new, GrapeLogging::Loggers::ClientEnv.new ]