The trace indicates a statusCode=401 error caused by com.databricks.mlflowdbfs.MlflowHttpException.
You need to disable mlflowdbfs in the environment variable before executing log_model().
Example code:
import os
os.environ["DISABLE_MLFLOWDBFS"] = "True"