Bug 1356281 - Remove bookmark contents from sync debug logs. r=tcsc

MozReview-Commit-ID: HsMH5mpCK8C

--HG--
extra : rebase_source : 26853fa867257a6c0a914ed903f9d8e253c86e8f
This commit is contained in:
tiago 2017-05-19 04:40:15 -03:00
parent 38fcc497b1
commit 1fdf6c19a7

View File

@ -725,7 +725,7 @@ BookmarksStore.prototype = {
// 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);
@ -742,7 +742,7 @@ BookmarksStore.prototype = {
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);