Get logging working with submit and run cmds