summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2017-09-13 01:25:33 -0700
committerStan Hu <stanhu@gmail.com>2017-09-13 01:25:33 -0700
commitb60cebb931581a76d3976904ba4b04f6dcab8938 (patch)
treef021520d15e07b2b158f0ff1a4ff88f10730777e
parent0cd1563fb66e9ba533346fe3957912225e27000f (diff)
downloadgitlab-ce-b60cebb931581a76d3976904ba4b04f6dcab8938.tar.gz
Exclude logging of API responses to prevent leakage of confidential datash-exclude-api-responses
-rw-r--r--lib/api/api.rb1
1 files changed, 0 insertions, 1 deletions
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
]