added werr, rerr and ioerr to logvars