tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nspr_log_file.rst (846B)


      1 NSPR_LOG_FILE
      2 =============
      3 
      4 This environment variable specifies the file to which log messages are
      5 directed.
      6 
      7 
      8 Syntax
      9 ------
     10 
     11 ::
     12 
     13   filespec
     14 
     15 *filespec* is a filename. The exact syntax is platform specific.
     16 
     17 
     18 Description
     19 -----------
     20 
     21 Use this environment variable to specify a log file other than the
     22 default. If :ref:`NSPR_LOG_FILE` is not in the environment, then log output
     23 is written to ``stdout`` or ``stderr``, depending on the platform.  Set
     24 :ref:`NSPR_LOG_FILE` to the name of the log file you want to use. NSPR
     25 logging, when enabled, writes to the file named in this environment
     26 variable.
     27 
     28 For MS Windows systems, you can set :ref:`NSPR_LOG_FILE` to the special
     29 (case-sensitive) value ``WinDebug``. This value causes logging output to
     30 be written using the Windows function ``OutputDebugString()``, which
     31 writes to the debugger window.