diff --git a/lib/log.js b/lib/log.js index a8d0b981e..252868916 100644 --- a/lib/log.js +++ b/lib/log.js @@ -86,6 +86,9 @@ function sanitiseHeaders(headers) { if (hdrs.authorization) { hdrs.authorization = '${AUTHORIZATION}'; } + if (hdrs['X-Broker-Token']) { + hdrs['X-Broker-Token'] = '${BROKER_TOKEN}'; + }; return sanitiseObject(hdrs); }