Changed one log call to debug making it less noisy, added pid number to the log output
only log out and err if they are not empty
fixing the git mess I created