Bug 981957 - make browserid_identity's logs consistent with other sync logs. r=rnewman
authorMark Hammond <mhammond@skippinet.com.au>
Tue, 11 Mar 2014 13:24:51 -0700
changeset 173065 f25fb5db8893f3dec09a66c00ded2d546356335b
parent 173064 1fe2de4278663300966d3297951bc3a48a21fe87
child 173066 c6fc27e68f455521abf328b28555c1ed97556160
push id5593
push usermhammond@skippinet.com.au
push dateTue, 11 Mar 2014 20:25:31 +0000
treeherderfx-team@f25fb5db8893 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrnewman
bugs981957
milestone30.0a1
Bug 981957 - make browserid_identity's logs consistent with other sync logs. r=rnewman
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
@@ -64,15 +64,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");