syslog-ng--mainline: implemented filter debugging (fixes: #3988)
Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-2> Bug: <http://bugzilla.balabit/cgi-bin/bugzilla/show_bug.cgi?id=3988> Revision: syslog-ng--mainline--2.0--patch-2 Archive: devel@balabit.hu--other-1 Creator: Balazs Scheidler <bazsi@balabit.hu> Date: Sat Feb 11 09:16:00 CET 2006 Standard-date: 2006-02-11 08:16:00 GMT Modified-files: ChangeLog src/center.c src/filter.c src/filter.h New-patches: devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-2 Summary: implemented filter debugging (fixes: #3988) Keywords: * src/filter.c (log_filter_rule_eval): new function, previously rule->root was manipulated directly which was not nice, filter rule debugging messages are put here (fixes: #3988), (filter_expr_eval): uninlined, added debugging messages (fixes: #3988), (filter_expr_free): uninlined (*_new): set self->type to be used in log messages properly (fixes: #3988) Diff stats: ChangeLog | 21 ++++++++++++++++ src/center.c | 2 - src/filter.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++--------- src/filter.h | 30 ++++++++++------------- 4 files changed, 99 insertions(+), 29 deletions(-)
participants (1)
-
bazsi@balabit.hu