[Syslog-ng-commit] syslog-ng--mainline: implemented filter debugging (fixes: #3988)

Balazs Scheidler bazsi at balabit.hu
Sat Feb 11 09:16:10 CET 2006


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 at balabit.hu--other-1
Creator: Balazs Scheidler <bazsi at 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 at 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(-)


More information about the Syslog-ng-commit mailing list