Skip to content

Commit

Permalink
add more logs
Browse files Browse the repository at this point in the history
Signed-off-by: Avik Basu <[email protected]>
  • Loading branch information
ab93 committed Dec 14, 2023
1 parent 3ca8c15 commit c0596d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numalogic/udfs/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,11 @@ def exec(self, keys: list[str], datum: Datum) -> Messages:
metadata=payload.metadata,
)
_LOGGER.info(
"%s - Successfully post-processed, Keys: %s, Scores: %s",
"%s - Successfully post-processed, Keys: %s, Scores: %s, Raw scores: %s",
out_payload.uuid,
out_payload.composite_keys,
out_payload.unified_anomaly,
raw_scores.tolist(),
)
messages.append(Message(keys=keys, value=out_payload.to_json(), tags=["output"]))

Expand Down

0 comments on commit c0596d7

Please sign in to comment.