Adding a logfile for childprocess