diff --git a/numalogic/udfs/inference.py b/numalogic/udfs/inference.py index 8f1a9706..449eb827 100644 --- a/numalogic/udfs/inference.py +++ b/numalogic/udfs/inference.py @@ -135,7 +135,7 @@ def exec(self, keys: list[str], datum: Datum) -> Messages: msgs = Messages(get_trainer_message(keys, _stream_conf, payload)) if _conf.numalogic_conf.score.adjust: msgs.append(get_static_thresh_message(keys, payload)) - logger.exception("Artifact model not loaded!") + logger.error("Artifact model not loaded!") return msgs # Perform inference diff --git a/numalogic/udfs/preprocess.py b/numalogic/udfs/preprocess.py index 19372497..ee187e65 100644 --- a/numalogic/udfs/preprocess.py +++ b/numalogic/udfs/preprocess.py @@ -167,7 +167,7 @@ def exec(self, keys: list[str], datum: Datum) -> Messages: msgs = Messages(get_trainer_message(keys, _stream_conf, payload)) if _conf.numalogic_conf.score.adjust: msgs.append(get_static_thresh_message(keys, payload)) - logger.exception("Artifact model not loaded!") + logger.error("Artifact model not loaded!") return msgs # Model will not be in registry else: