Add option to log children's output.
Add UT for the log prefix
Change sys.exit to os._exit in child
Remove the pid guard