updated workflow hub to print to log files in a way that will flush immediately