Delete mitogen.utils.log_to_tmp()

pull/35/head
David Wilson 7 years ago
parent a836a7e555
commit b9cd5656a3

@ -22,11 +22,6 @@ def disable_site_packages():
sys.path.remove(entry) sys.path.remove(entry)
def log_to_tmp():
import os
log_to_file(path='/tmp/mitogen.%s.log' % (os.getpid(),))
def log_to_file(path=None, io=True, level='INFO'): def log_to_file(path=None, io=True, level='INFO'):
"""Install a new :py:class:`logging.Handler` writing applications logs to """Install a new :py:class:`logging.Handler` writing applications logs to
the filesystem. Useful when debugging slave IO problems.""" the filesystem. Useful when debugging slave IO problems."""

Loading…
Cancel
Save