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 Jan 7, 2025
1 parent ce9aa7e commit 772562a
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 @@ -88,7 +88,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 772562a

Please sign in to comment.