Closed
Bug 412960
Opened 17 years ago
Closed 16 years ago
re-enable search service logging for non-debug builds
Categories
(Firefox :: Search, defect, P3)
Firefox
Search
Tracking
()
RESOLVED
FIXED
Firefox 3 beta3
People
(Reporter: Gavin, Assigned: Gavin)
Details
Attachments
(1 file)
3.02 KB,
patch
|
asaf
:
review+
beltzner
:
approval1.9+
|
Details | Diff | Splinter Review |
Bug 394979 disabled search service logging for non-debug builds, because it was showing up in some Tp runs. Since this code has been useful for remotely debugging search service problems, I think we should re-enable it, but not have it be "live" to avoid the perf costs of the previous approach (which checked the pref each time the LOG function was called). We can do this by dynamically defining the LOG function based on the pref value at startup.
Assignee | ||
Comment 1•17 years ago
|
||
Assignee | ||
Updated•17 years ago
|
Priority: -- → P3
Target Milestone: --- → Firefox 3 M11
Comment 2•17 years ago
|
||
So, why is PREF_LOG still checking the pref too?
Assignee | ||
Comment 3•17 years ago
|
||
PREF_LOG is the version used for debug builds, and it checks the pref because I've found useful to be able to dynamically enable/disable logging while I'm testing something (to reduce log noise). I'm not particularly attached to it, though, so perhaps we should just omit it for simplicity's sake.
Comment 4•17 years ago
|
||
Comment on attachment 297776 [details] [diff] [review] patch seems fine actually, r=mano.
Attachment #297776 -
Flags: review?(mano) → review+
Assignee | ||
Comment 5•17 years ago
|
||
Comment on attachment 297776 [details] [diff] [review] patch Restores a feature that has helped remotely debug search services issues in the past, should have no impact unless enabled with the pref.
Attachment #297776 -
Flags: approval1.9?
Comment 6•17 years ago
|
||
Comment on attachment 297776 [details] [diff] [review] patch a=beltzner for 1.9
Attachment #297776 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Updated•17 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 7•16 years ago
|
||
mozilla/browser/components/search/nsSearchService.js 1.108
You need to log in
before you can comment on or make changes to this bug.
Description
•