reduce waiting time. change pipe redirection points to output log