From: Florian Forster Date: Fri, 25 May 2007 17:49:24 +0000 (+0200) Subject: network plugin: Prepend the plugin's name to debug messages. X-Git-Tag: collectd-4.0.0~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=862dc7be0b86270609186224e1569ed6b922fa68;p=collectd.git network plugin: Prepend the plugin's name to debug messages. --- diff --git a/src/network.c b/src/network.c index a426c136..34385bf6 100644 --- a/src/network.c +++ b/src/network.c @@ -385,7 +385,8 @@ static int parse_part_values (void **ret_buffer, int *ret_buffer_len, if (buffer_len < (15)) { - DEBUG ("packet is too short: buffer_len = %i", buffer_len); + DEBUG ("network plugin: packet is too short: buffer_len = %i", + buffer_len); return (-1); } @@ -1047,7 +1048,7 @@ static void network_send_buffer (const char *buffer, int buffer_len) sockent_t *se; int status; - DEBUG ("buffer_len = %i", buffer_len); + DEBUG ("network plugin: network_send_buffer: buffer_len = %i", buffer_len); for (se = sending_sockets; se != NULL; se = se->next) {