diff --git a/lib/filterx/filterx-scope.c b/lib/filterx/filterx-scope.c index 09fd9aa8d..47e915098 100644 --- a/lib/filterx/filterx-scope.c +++ b/lib/filterx/filterx-scope.c @@ -182,6 +182,8 @@ filterx_scope_validate_variable(FilterXScope *self, FilterXVariable *variable) if (filterx_variable_handle_is_floating(variable->handle) && !variable->declared && variable->generation != self->generation) return FALSE; + if(!filterx_variable_handle_is_floating(variable->handle) && filterx_scope_has_log_msg_changes(self)) + return FALSE; return TRUE; }