switched to simple console based error logging