Skip to content

Commit

Permalink
filterx: add type information into optimization message
Browse files Browse the repository at this point in the history
Signed-off-by: Balazs Scheidler <[email protected]>
  • Loading branch information
bazsi committed Dec 31, 2024
1 parent 5f3d41c commit 6b4d4b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/filterx/filterx-expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ filterx_expr_optimize(FilterXExpr *self)
optimized = filterx_expr_optimize(optimized);

msg_trace("FilterX: expression optimized",
filterx_expr_format_location_tag(self));
filterx_expr_format_location_tag(self),
evt_tag_str("old_type", self->type),
evt_tag_str("new_type", optimized->type));
if (self->lloc)
{
/* copy location information to the optimized representation */
Expand Down

0 comments on commit 6b4d4b3

Please sign in to comment.