[PATCH] afmongodb: Print the collection name upon init.
When initializing a mongodb destination, include the collection name in the logged message too. Signed-off-by: Gergely Nagy <algernon@balabit.hu> --- modules/afmongodb/afmongodb.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/modules/afmongodb/afmongodb.c b/modules/afmongodb/afmongodb.c index 0f01f05..4bf17a9 100644 --- a/modules/afmongodb/afmongodb.c +++ b/modules/afmongodb/afmongodb.c @@ -435,6 +435,7 @@ afmongodb_dd_init(LogPipe *s) evt_tag_str("host", self->host), evt_tag_int("port", self->port), evt_tag_str("database", self->db), + evt_tag_str("collection", self->coll), NULL); self->queue = log_dest_driver_acquire_queue(&self->super, afmongodb_dd_format_persist_name(self)); -- 1.7.5.4
On Sun, 2011-09-11 at 00:09 +0200, Gergely Nagy wrote:
When initializing a mongodb destination, include the collection name in the logged message too.
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Applied as well. -- Bazsi
participants (2)
-
Balazs Scheidler
-
Gergely Nagy