diff options
Diffstat (limited to 'services/sync/modules/keys.js')
-rw-r--r-- | services/sync/modules/keys.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/sync/modules/keys.js b/services/sync/modules/keys.js index e228db31f..bf909bdc2 100644 --- a/services/sync/modules/keys.js +++ b/services/sync/modules/keys.js @@ -12,7 +12,7 @@ this.EXPORTED_SYMBOLS = [ const {classes: Cc, interfaces: Ci, utils: Cu, results: Cr} = Components; Cu.import("resource://services-sync/constants.js"); -Cu.import("resource://services-common/log4moz.js"); +Cu.import("resource://gre/modules/Log.jsm"); Cu.import("resource://services-sync/util.js"); /** @@ -120,7 +120,7 @@ KeyBundle.prototype = { * This is just a KeyBundle with a collection attached. */ this.BulkKeyBundle = function BulkKeyBundle(collection) { - let log = Log4Moz.repository.getLogger("Sync.BulkKeyBundle"); + let log = Log.repository.getLogger("Sync.BulkKeyBundle"); log.info("BulkKeyBundle being created for " + collection); KeyBundle.call(this); @@ -177,7 +177,7 @@ BulkKeyBundle.prototype = { * If the username or Sync Key is invalid, an Error will be thrown. */ this.SyncKeyBundle = function SyncKeyBundle(username, syncKey) { - let log = Log4Moz.repository.getLogger("Sync.SyncKeyBundle"); + let log = Log.repository.getLogger("Sync.SyncKeyBundle"); log.info("SyncKeyBundle being created."); KeyBundle.call(this); |