update logerror in CustomEvent