From 772562a25137939b8332434d000f5978e6921adb 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 0dfebe0c7..897a38d4c 100644 --- a/lib/filterx/filterx-expr.c +++ b/lib/filterx/filterx-expr.c @@ -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 */