From 4820ad85e90ccfdd609fb33afcf71314787e964c Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 28 Mar 2007 14:47:50 +0200 Subject: [PATCH] {csv,network} plugin: Improved debug messages. --- src/csv.c | 2 +- src/unixsock.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/csv.c b/src/csv.c index 4379fe5f..5e7b05fb 100644 --- a/src/csv.c +++ b/src/csv.c @@ -201,7 +201,7 @@ static int csv_write (const data_set_t *ds, const value_list_t *vl) if (value_list_to_filename (filename, sizeof (filename), ds, vl) != 0) return (-1); - DEBUG ("filename = %s;", filename); + DEBUG ("csv plugin: csv_write: filename = %s;", filename); if (value_list_to_string (values, sizeof (values), ds, vl) != 0) return (-1); diff --git a/src/unixsock.c b/src/unixsock.c index 75f3117e..568f8c88 100644 --- a/src/unixsock.c +++ b/src/unixsock.c @@ -150,7 +150,8 @@ static int cache_insert (const data_set_t *ds, const value_list_t *vl) value_cache_t *vc; int i; - DEBUG ("ds->ds_num = %i; vl->values_len = %i;", + DEBUG ("unixsock plugin: cache_insert: ds->ds_num = %i;" + " vl->values_len = %i;", ds->ds_num, vl->values_len); assert (ds->ds_num == vl->values_len); -- 2.11.0