diff --git a/darbrrb.py b/darbrrb.py index 174fd40..46f4c6b 100644 --- a/darbrrb.py +++ b/darbrrb.py @@ -1242,7 +1242,7 @@ class TestWholeRestoreNineteenPlusSeven(TestWholeRestore): # dar expects its stdin and stdout to be a terminal so we will # make a log file for our messages rather than depend on # redirection - logfile = logging.FileHandler('darbrrb.log') + logfile = logging.FileHandler('darbrrb.log.{}'.format(os.getpid())) logfile.setFormatter(fmt) root_logger.addHandler(logfile) log = logging.getLogger('__main__'.format(os.getpid()))