From: Florian Forster Date: Wed, 28 Mar 2007 12:47:50 +0000 (+0200) Subject: {csv,network} plugin: Improved debug messages. X-Git-Tag: collectd-4.0.0~121 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4820ad85e90ccfdd609fb33afcf71314787e964c;p=collectd.git {csv,network} plugin: Improved debug messages. --- 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);