Stream stdout to log files