forked from mirrors/gecko-dev
Bug 1894703 - Add some documentation about using logging.config.modules r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D210353
This commit is contained in:
parent
9e610c7243
commit
16d63d259d
1 changed files with 9 additions and 5 deletions
|
|
@ -88,8 +88,7 @@ terms:
|
||||||
| | | | stack for each log statement. |
|
| | | | stack for each log statement. |
|
||||||
+----------------------+---------+-------------------------------------------------------------------------------------------+
|
+----------------------+---------+-------------------------------------------------------------------------------------------+
|
||||||
|
|
||||||
This syntax is used for most methods of enabling logging, with the exception of
|
This syntax is used for most methods of enabling logging.
|
||||||
settings preferences directly, see :ref:`this section <Enabling logging using preferences>` for directions.
|
|
||||||
|
|
||||||
|
|
||||||
Enabling Logging
|
Enabling Logging
|
||||||
|
|
@ -239,9 +238,14 @@ Enabling logging using preferences
|
||||||
''''''''''''''''''''''''''''''''''
|
''''''''''''''''''''''''''''''''''
|
||||||
|
|
||||||
To adjust the logging after Firefox has started, you can set prefs under the
|
To adjust the logging after Firefox has started, you can set prefs under the
|
||||||
`logging.` prefix. For example, setting `logging.foo` to `3` will set the log
|
``logging.`` prefix. For example, setting ``logging.foo`` to ``3`` will set the log
|
||||||
module `foo` to start logging at level 3. A number of special prefs can be set,
|
module ``foo`` to start logging at level 3.
|
||||||
described in the table below:
|
|
||||||
|
The MOZ_LOG syntax can be used directly as well, by setting the preference
|
||||||
|
``logging.config.modules``. All modules can be used but only the special string
|
||||||
|
`profilerstacks` is supported.
|
||||||
|
|
||||||
|
A number of special prefs can be set as well, described in the table below:
|
||||||
|
|
||||||
+-------------------------------------+------------+-------------------------------+--------------------------------------------------------+
|
+-------------------------------------+------------+-------------------------------+--------------------------------------------------------+
|
||||||
| Preference name | Preference | Preference value | Description |
|
| Preference name | Preference | Preference value | Description |
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue