[syslog-ng] [PATCH (3.4) 1/5] afmongodb: Clean up the default value-pairs() set.

Gergely Nagy algernon at balabit.hu
Tue Jan 3 01:55:29 CET 2012


Cleaned up the default value-pairs() set, so no needless excludes are
present by default.

Signed-off-by: Gergely Nagy <algernon at balabit.hu>
---
 modules/afmongodb/afmongodb.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/modules/afmongodb/afmongodb.c b/modules/afmongodb/afmongodb.c
index 0314481..f526bc1 100644
--- a/modules/afmongodb/afmongodb.c
+++ b/modules/afmongodb/afmongodb.c
@@ -424,12 +424,6 @@ afmongodb_dd_init(LogPipe *s)
       self->vp = value_pairs_new();
       value_pairs_add_scope(self->vp, "selected-macros");
       value_pairs_add_scope(self->vp, "nv-pairs");
-      value_pairs_add_glob_pattern(self->vp, "R_*", FALSE);
-      value_pairs_add_glob_pattern(self->vp, "S_*", FALSE);
-      value_pairs_add_glob_pattern(self->vp, "HOST_FROM", FALSE);
-      value_pairs_add_glob_pattern(self->vp, "LEGACY_MSGHDR", FALSE);
-      value_pairs_add_glob_pattern(self->vp, "MSG", FALSE);
-      value_pairs_add_glob_pattern(self->vp, "SDATA", FALSE);
     }
 
   msg_verbose("Initializing MongoDB destination",
-- 
1.7.7.3



More information about the syslog-ng mailing list