mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1408176 - Use trace logs when logging PII in sync passwords engine r=kitcambridge
MozReview-Commit-ID: KueHgdTH02Z --HG-- extra : rebase_source : a8f5814c5d9baf8e6c370c65da8472f9c7c6213e
This commit is contained in:
parent
67adf9559e
commit
4ee948935f
@ -282,13 +282,13 @@ PasswordStore.prototype = {
|
||||
return;
|
||||
}
|
||||
|
||||
this._log.debug("Adding login for " + record.hostname);
|
||||
this._log.trace("Adding login for " + record.hostname);
|
||||
this._log.trace("httpRealm: " + JSON.stringify(login.httpRealm) + "; " +
|
||||
"formSubmitURL: " + JSON.stringify(login.formSubmitURL));
|
||||
try {
|
||||
Services.logins.addLogin(login);
|
||||
} catch (ex) {
|
||||
this._log.debug(`Adding record ${record.id} resulted in exception`, ex);
|
||||
this._log.error(`Adding record ${record.id} resulted in exception`, ex);
|
||||
}
|
||||
},
|
||||
|
||||
@ -307,11 +307,11 @@ PasswordStore.prototype = {
|
||||
async update(record) {
|
||||
let loginItem = await this._getLoginFromGUID(record.id);
|
||||
if (!loginItem) {
|
||||
this._log.debug("Skipping update for unknown item: " + record.hostname);
|
||||
this._log.trace("Skipping update for unknown item: " + record.hostname);
|
||||
return;
|
||||
}
|
||||
|
||||
this._log.debug("Updating " + record.hostname);
|
||||
this._log.trace("Updating " + record.hostname);
|
||||
let newinfo = this._nsLoginInfoFromRecord(record);
|
||||
if (!newinfo) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user