pipe log-output to other command before sending it to the clients