Skip to content

Commit db3c0c4

Browse files
committed
Pick more sensible verbosity levels
1 parent 2d8a305 commit db3c0c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/chrome/content/code/HTTPSRules.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,13 +266,13 @@ const RuleWriter = {
266266
write: function(file, data) {
267267
//if (!file.exists())
268268
// return null;
269-
this.log(WARN, "Opening " + file.path + " for writing");
269+
this.log(DBUG, "Opening " + file.path + " for writing");
270270
var fstream = CC["@mozilla.org/network/file-output-stream;1"]
271271
.createInstance(CI.nsIFileOutputStream);
272272
fstream.init(file, -1, -1, 0);
273273

274274
var retval = fstream.write(data, data.length);
275-
this.log(WARN, "Got retval " + retval);
275+
this.log(DBUG, "Got retval " + retval);
276276
fstream.close();
277277
return data;
278278
},

src/components/ssl-observatory.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,9 +602,9 @@ SSLObservatory.prototype = {
602602
that.log(WARN, "Invalid chain whitelist of size " + c);
603603
return false;
604604
}
605-
that.log(NOTE, "Replacing chain whitelist...");
605+
that.log(WARN, "Routine update of SSL Observatory cert whitelist");
606606
that.whitelist = whitelist;
607-
that.log(WARN, "Got valid whitelist..." + JSON.stringify(whitelist));
607+
that.log(NOTE, "Got valid whitelist..." + JSON.stringify(whitelist));
608608
that.saveCertWhitelist();
609609
} else {
610610
that.log(NOTE, "Unexpected response status " + req.status + " fetching chain whitelist");

0 commit comments

Comments
 (0)