Delete mitogen.utils.log_to_tmp()

This commit is contained in:
David Wilson 2017-09-21 21:12:26 +05:30
parent 400c971f4a
commit b827ee1bc7
1 changed files with 0 additions and 5 deletions

View File

@ -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."""