From 608878ce0ff4c0d5fd0d5bf14f699968d2bfb716 Mon Sep 17 00:00:00 2001 From: Mark Hammond Date: Tue, 5 Jan 2016 11:10:41 +1100 Subject: [PATCH] Bug 1236651 - don't log complete FxA webchannel messages by default. r=nalexander --- services/fxaccounts/FxAccountsWebChannel.jsm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/fxaccounts/FxAccountsWebChannel.jsm b/services/fxaccounts/FxAccountsWebChannel.jsm index 60b1ad28344..0985498defb 100644 --- a/services/fxaccounts/FxAccountsWebChannel.jsm +++ b/services/fxaccounts/FxAccountsWebChannel.jsm @@ -138,7 +138,10 @@ this.FxAccountsWebChannel.prototype = { */ let listener = (webChannelId, message, sendingContext) => { if (message) { - log.debug("FxAccountsWebChannel message received", message); + log.debug("FxAccountsWebChannel message received", message.command); + if (logPII) { + log.debug("FxAccountsWebChannel message details", message); + } let command = message.command; let data = message.data;