log if process exit