From b827ee1bc7f4397c601d3d3c851419c914e97bbe Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 21 Sep 2017 21:12:26 +0530 Subject: [PATCH] Delete mitogen.utils.log_to_tmp() --- mitogen/utils.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mitogen/utils.py b/mitogen/utils.py index d7ccc342..f67125af 100644 --- a/mitogen/utils.py +++ b/mitogen/utils.py @@ -22,11 +22,6 @@ def disable_site_packages(): 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'): """Install a new :py:class:`logging.Handler` writing applications logs to the filesystem. Useful when debugging slave IO problems."""