removed log_error_stub