From 6b4d4b3a39706a5cb84c8c180f9174b8db7fde4d Mon Sep 17 00:00:00 2001 From: Balazs Scheidler Date: Mon, 23 Dec 2024 13:49:24 +0100 Subject: [PATCH] filterx: add type information into optimization message Signed-off-by: Balazs Scheidler --- lib/filterx/filterx-expr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/filterx/filterx-expr.c b/lib/filterx/filterx-expr.c index b0b8701f1..f207d0dbd 100644 --- a/lib/filterx/filterx-expr.c +++ b/lib/filterx/filterx-expr.c @@ -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 */