added the ability to print only errors to pli.testlog, still need to refactor the...