Commits

mattip committed 7376388

document

  • Participants
  • Parent commits ded4fba

Comments (0)

Files changed (3)

pypy/doc/config/translation.log.txt

 
 These must be enabled by setting the PYPYLOG environment variable.
 The exact set of features supported by PYPYLOG is described in
-pypy/translation/c/src/debug_print.h.
+rpython/translator/c/src/debug_print.h.

pypy/doc/man/pypy.1.rst

 ``PYPYLOG``
     If set to a non-empty value, enable logging, the format is:
 
-    *fname*
+    *fname* or *+fname*
         logging for profiling: includes all
         ``debug_start``/``debug_stop`` but not any nested
         ``debug_print``.
         *fname* can be ``-`` to log to *stderr*.
-        Note that using a : in fname is a bad idea, Windows
-        users, beware.
+        The *+fname* form can be used if there is a *:* in fname
 
     ``:``\ *fname*
         Full logging, including ``debug_print``.

rpython/translator/c/src/debug_print.h

 /* values of the PYPYLOG environment variable:
    ("top-level" debug_prints means not between debug_start and debug_stop)
 
-   (empty)        logging is turned off, apart from top-level debug_prints
+   (empty)         logging is turned off, apart from top-level debug_prints
                      that go to stderr
-   fname          logging for profiling: includes all debug_start/debug_stop
-                     but not any nested debug_print
-   :fname         full logging
-   prefix:fname   conditional logging
+   fname or +fname logging for profiling: includes all debug_start/debug_stop
+                     but not any nested debug_print, use +fname if there is a
+                     colon : in fname
+   :fname          full logging
+   prefix:fname    conditional logging
    prefix1,prefix2:fname   conditional logging with multiple selections
 
    Conditional logging means that it only includes the debug_start/debug_stop