|
|
|
@ -1323,7 +1323,7 @@ A random assortment of utility functions useful on masters and children.
|
|
|
|
|
OS X bundles some ancient version of the :py:mod:`six` module.
|
|
|
|
|
|
|
|
|
|
.. currentmodule:: mitogen.utils
|
|
|
|
|
.. function:: log_to_file (path=None, io=False, usec=False, level='INFO')
|
|
|
|
|
.. function:: log_to_file (path=None, io=False, level='INFO')
|
|
|
|
|
|
|
|
|
|
Install a new :py:class:`logging.Handler` writing applications logs to the
|
|
|
|
|
filesystem. Useful when debugging slave IO problems.
|
|
|
|
@ -1339,10 +1339,6 @@ A random assortment of utility functions useful on masters and children.
|
|
|
|
|
If :data:`True`, include extremely verbose IO logs in the output.
|
|
|
|
|
Useful for debugging hangs, less useful for debugging application code.
|
|
|
|
|
|
|
|
|
|
:parm bool usec:
|
|
|
|
|
If :data:`True`, include microsecond timestamps. This greatly helps
|
|
|
|
|
when debugging races and similar determinism issues.
|
|
|
|
|
|
|
|
|
|
:param str level:
|
|
|
|
|
Name of the :py:mod:`logging` package constant that is the minimum
|
|
|
|
|
level to log at. Useful levels are ``DEBUG``, ``INFO``, ``WARNING``,
|
|
|
|
|