def log_to_stderr(level=None):
 from multiprocessing.util import log_to_stderr
 return log_to_stderr(level)

def log_to_stderr ( level = None ) : from multiprocessing . util import log_to_stderr return log_to_stderr ( level )
turn on logging and add a handler which prints to stderr .