Closed Bug 1215396 Opened 9 years ago Closed 9 years ago

Log Safe Browsing prefixes as they are added to the local database

Categories

(Toolkit :: Safe Browsing, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: francois, Assigned: francois)

References

Details

Attachments

(1 file)

This will allow us to see when particular prefixes get added / removed by the Safe Browsing server. NSPR_LOG_MODULES=UrlClassifierProtocolParser:5
Attached patch bug1215396.patchSplinter Review
Attachment #8674662 - Flags: review?(gpascutto)
Comment on attachment 8674662 [details] [diff] [review] bug1215396.patch Review of attachment 8674662 [details] [diff] [review]: ----------------------------------------------------------------- Seems very spammy to me. Maybe want to consider making different log levels?
Attachment #8674662 - Flags: review?(gpascutto) → review+
(In reply to Gian-Carlo Pascutto [:gcp] from comment #2) > Seems very spammy to me. Maybe want to consider making different log levels? Yeah, it is pretty spammy, but there aren't that many log levels: https://dxr.mozilla.org/mozilla-central/rev/d374d16cbb251c9dac5af69f8e186e821ce82fe2/nsprpub/pr/include/prlog.h#107-111 None of the PARSER_LOG() lines really feel like warnings to me. The good thing is that it's pretty rare (I think) that we need to enable that particular LOG_MODULE.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: