Commit b60cebb9 authored by Stan Hu's avatar Stan Hu

Exclude logging of API responses to prevent leakage of confidential data

parent 0cd1563f
...@@ -8,7 +8,6 @@ module API ...@@ -8,7 +8,6 @@ module API
logger: Logger.new(LOG_FILENAME), logger: Logger.new(LOG_FILENAME),
formatter: Gitlab::GrapeLogging::Formatters::LogrageWithTimestamp.new, formatter: Gitlab::GrapeLogging::Formatters::LogrageWithTimestamp.new,
include: [ include: [
GrapeLogging::Loggers::Response.new,
GrapeLogging::Loggers::FilterParameters.new, GrapeLogging::Loggers::FilterParameters.new,
GrapeLogging::Loggers::ClientEnv.new GrapeLogging::Loggers::ClientEnv.new
] ]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment