add syserr and syslog