Using tee to split logs between log file and stdout