Closed Bug 1238665 Opened 8 years ago Closed 8 years ago

Update NSPR loggers to LazyLogModule.

Categories

(MailNews Core :: Backend, defect)

defect
Not set
normal

Tracking

(firefox46 affected)

RESOLVED DUPLICATE of bug 1222244
Tracking Status
firefox46 --- affected

People

(Reporter: rkent, Unassigned)

Details

From a post in m.d.platform:

Hi Folks-

With bug 1233881 <https://bugzilla.mozilla.org/show_bug.cgi?id=1233881> we
landed the ability turn on logging via prefs.

Lets say you have a log module "Foo", if you add a "logging.Foo" pref and
set it to "Debug" you will now see all output from the Foo log module that
is of Debug and higher importance.

Why is this so cool? Well now you don't need to restart your browser to
enable logging [1]. You also don't have to set env vars to enable logging
[2].

There is one caveat: if you don't use LazyLogModule and friends, you don't
get dynamic logging. So go update your loggers!
Oops. I already filed this.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.