Bug 1356281 - Remove bookmark contents from sync debug logs. r?tcsc
MozReview-Commit-ID: HsMH5mpCK8C
--- a/services/sync/modules/engines/bookmarks.js
+++ b/services/sync/modules/engines/bookmarks.js
@@ -708,34 +708,34 @@ BookmarksStore.prototype = {
create: function BStore_create(record) {
let info = record.toSyncBookmark();
// This can throw if we're inserting an invalid or incomplete bookmark.
// That's fine; the exception will be caught by `applyIncomingBatch`
// without aborting further processing.
let item = Async.promiseSpinningly(PlacesSyncUtils.bookmarks.insert(info));
if (item) {
- this._log.debug(`Created ${item.kind} ${item.syncId} under ${
+ this._log.trace(`Created ${item.kind} ${item.syncId} under ${
item.parentSyncId}`, item);
if (item.dateAdded != record.dateAdded) {
this.engine._needWeakReupload.add(item.syncId);
}
}
},
remove: function BStore_remove(record) {
this._log.trace(`Buffering removal of item "${record.id}".`);
this._itemsToDelete.add(record.id);
},
update: function BStore_update(record) {
let info = record.toSyncBookmark();
let item = Async.promiseSpinningly(PlacesSyncUtils.bookmarks.update(info));
if (item) {
- this._log.debug(`Updated ${item.kind} ${item.syncId} under ${
+ this._log.trace(`Updated ${item.kind} ${item.syncId} under ${
item.parentSyncId}`, item);
if (item.dateAdded != record.dateAdded) {
this.engine._needWeakReupload.add(item.syncId);
}
}
},
_orderChildren: function _orderChildren() {