Bug 1275744 - Reference MOZ_LOG in leak_gauge. r=dbaron
NSPR_LOG_MODULES is deprecated.
MozReview-Commit-ID: 5mugF8txPPR
--- a/tools/leak-gauge/leak-gauge.html
+++ b/tools/leak-gauge/leak-gauge.html
@@ -270,18 +270,18 @@ for many classes of leaks (those that in
data structures) in Mozilla-based browsers. It is designed to print
information about what has leaked by processing a log taken while
running the browser. Such a log can be taken over a long session of
normal browsing and then the log can be processed to find sites that
leak. Once a site is known to leak, the logging can then be repeated
to figure out under what conditions the leak occurs.</p>
<p>The way to create this log is to set the environment variables:</p>
-<pre> NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
- NSPR_LOG_FILE=nspr.log <i>(or any other filename of your choice)</i></pre>
+<pre> MOZ_LOG=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
+ MOZ_LOG_FILE=nspr.log <i>(or any other filename of your choice)</i></pre>
<p>in your shell and then run the program.</p>
<ul>
<li>In a Windows command prompt, set environment variables with
<pre> set VAR=value</pre></li>
<li> In an sh-based shell such as bash, set environment variables with
<pre> export VAR=value</pre></li>
<li>In a csh-based shell such as tcsh, set environment variables with
<pre> setenv VAR value</pre></li>
--- a/tools/leak-gauge/leak-gauge.pl
+++ b/tools/leak-gauge/leak-gauge.pl
@@ -10,18 +10,18 @@
# data structures) in Mozilla-based browsers. It is designed to print
# information about what has leaked by processing a log taken while
# running the browser. Such a log can be taken over a long session of
# normal browsing and then the log can be processed to find sites that
# leak. Once a site is known to leak, the logging can then be repeated
# to figure out under what conditions the leak occurs.
#
# The way to create this log is to set the environment variables:
-# NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
-# NSPR_LOG_FILE=nspr.log (or any other filename of your choice)
+# MOZ_LOG=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5,NodeInfoManagerLeak:5
+# MOZ_LOG_FILE=nspr.log (or any other filename of your choice)
# in your shell and then run the program.
# * In a Windows command prompt, set environment variables with
# set VAR=value
# * In an sh-based shell such as bash, set environment variables with
# export VAR=value
# * In a csh-based shell such as tcsh, set environment variables with
# setenv VAR value
#