Bug 981957 - Make browserid_identity's logs consistent with other sync logs. r=rnewman, a=sledru
authorMark Hammond <mhammond@skippinet.com.au>
Tue, 11 Mar 2014 13:24:51 -0700
changeset 177526 42fa9d46ba5a20ad1c1829ea8d0c82f162fb02ba
parent 177525 4b8b3d35de14872ff9298826f66bae7c904d941f
child 177527 3041a13e0a0dc44262fb9dc9aefdcaa3fb207d9d
push id5405
push userryanvm@gmail.com
push dateThu, 13 Mar 2014 19:59:55 +0000
treeherdermozilla-aurora@6373395a950a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrnewman, sledru
bugs981957
milestone29.0a2
Bug 981957 - Make browserid_identity's logs consistent with other sync logs. r=rnewman, a=sledru
services/sync/modules/browserid_identity.js
services/sync/services-sync.js
--- a/services/sync/modules/browserid_identity.js
+++ b/services/sync/modules/browserid_identity.js
@@ -29,17 +29,16 @@ XPCOMUtils.defineLazyModuleGetter(this, 
 XPCOMUtils.defineLazyModuleGetter(this, "BulkKeyBundle",
                                   "resource://services-sync/keys.js");
 
 XPCOMUtils.defineLazyModuleGetter(this, "fxAccounts",
                                   "resource://gre/modules/FxAccounts.jsm");
 
 XPCOMUtils.defineLazyGetter(this, 'log', function() {
   let log = Log.repository.getLogger("Sync.BrowserIDManager");
-  log.addAppender(new Log.DumpAppender());
   log.level = Log.Level[Svc.Prefs.get("log.logger.identity")] || Log.Level.Error;
   return log;
 });
 
 // FxAccountsCommon.js doesn't use a "namespace", so create one here.
 let fxAccountsCommon = {};
 Cu.import("resource://gre/modules/FxAccountsCommon.js", fxAccountsCommon);
 
--- a/services/sync/services-sync.js
+++ b/services/sync/services-sync.js
@@ -66,15 +66,16 @@ pref("services.sync.log.logger.engine.bo
 pref("services.sync.log.logger.engine.clients", "Debug");
 pref("services.sync.log.logger.engine.forms", "Debug");
 pref("services.sync.log.logger.engine.history", "Debug");
 pref("services.sync.log.logger.engine.passwords", "Debug");
 pref("services.sync.log.logger.engine.prefs", "Debug");
 pref("services.sync.log.logger.engine.tabs", "Debug");
 pref("services.sync.log.logger.engine.addons", "Debug");
 pref("services.sync.log.logger.engine.apps", "Debug");
+pref("services.sync.log.logger.identity", "Debug");
 pref("services.sync.log.logger.userapi", "Debug");
 pref("services.sync.log.cryptoDebug", false);
 
 pref("services.sync.tokenServerURI", "https://token.services.mozilla.com/1.0/sync/1.5");
 
 pref("services.sync.fxa.termsURL", "https://accounts.firefox.com/legal/terms");
 pref("services.sync.fxa.privacyURL", "https://accounts.firefox.com/legal/privacy");