[Syslog-ng-commit] syslog-ng--mainline: Added processed counters
for source/destination groups and the log center (fixes: #5368)
Balazs Scheidler
bazsi at balabit.hu
Sat Feb 11 11:58:13 CET 2006
Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-4>
Bug: <http://bugzilla.balabit/cgi-bin/bugzilla/show_bug.cgi?id=5368>
Revision: syslog-ng--mainline--2.0--patch-4
Archive: devel at balabit.hu--other-1
Creator: Balazs Scheidler <bazsi at balabit.hu>
Date: Sat Feb 11 11:57:43 CET 2006
Standard-date: 2006-02-11 10:57:43 GMT
Modified-files: ChangeLog NEWS src/affile.c src/center.c
src/center.h src/dgroup.c src/dgroup.h src/driver.c
src/logwriter.c src/sgroup.c src/sgroup.h src/stats.c
src/stats.h
New-patches: devel at balabit.hu--other-1/syslog-ng--mainline--2.0--patch-4
Summary: Added processed counters for source/destination groups and the log center (fixes: #5368)
Keywords:
* src/affile.c (affile_dd_format_stats_name): readded this function
to generate a unique stats ID for the specific destination driver
instance,
(affile_dd_init): use NO_STATS for files only,
* src/center.c (log_center_init): added received/queued counters,
(log_center_queue): increment counters
* src/sgroup.c, src/dgroup.c: added processed counters
* src/stats.c, src/stats.h: added SC_TYPE_PROCESSED, make sure that
counters are interpreted in their proper namespace,
(stats_unregister_counter): added missing "type" argument
Diff stats:
ChangeLog | 30 ++++++++++++++++++++++++++++++
NEWS | 13 +++++++++++++
src/affile.c | 18 +++++++++++++++++-
src/center.c | 18 +++++++++++++-----
src/center.h | 2 ++
src/dgroup.c | 16 ++++++++++++++++
src/dgroup.h | 1 +
src/driver.c | 5 -----
src/logwriter.c | 2 +-
src/sgroup.c | 16 +++++++++++++++-
src/sgroup.h | 2 ++
src/stats.c | 31 +++++++++++++++++--------------
src/stats.h | 3 ++-
13 files changed, 129 insertions(+), 28 deletions(-)
More information about the Syslog-ng-commit
mailing list