Closed Bug 367601 Opened 18 years ago Closed 16 years ago

add "all" logging support to LOG() in updates.js

Categories

(Toolkit :: Application Update, enhancement)

1.8 Branch
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.1b2

People

(Reporter: moco, Assigned: robert.strong.bugs)

References

Details

a while back nick suggested we add "app.update.log.all" support, see
 https://bugzilla.mozilla.org/show_bug.cgi?id=349271#c3

it's been useful, and it is on the trunk:  

http://lxr.mozilla.org/seamonkey/source/toolkit/mozapps/update/src/nsUpdateService.js.in#1169

132 function LOG(module, string) {
133   if (module in gLogEnabled || "all" in gLogEnabled) {
134     dump("*** " + module + ": " + string + "\n");
135     gConsole.logStringMessage(string);
136   }

this bug is about added it to updates.js as well, which also uses the "app.update.log." pref branch.

 75 function LOG(module, string) {
 76   if (module in gLogEnabled) {
 77     dump("*** " + module + ":" + string + "\n");
 78     gConsole.logStringMessage(string);
 79   }
 80 }
Product: Firefox → Toolkit
Fixed by the checkin of bug 324121
Assignee: nobody → robert.bugzilla
Status: NEW → RESOLVED
Closed: 16 years ago
Depends on: 324121
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1b2
You need to log in before you can comment on or make changes to this bug.