more descriptive logging
Costa Tsaousis (ktsaou) committed
Feb 23, 2017 at 20:40 UTC
b41471251009dc3b37bfe8ad25a28ccbbb138174
1 file changed
+2
-2
src/rrdpush.c
+2
-2
@@ -473,9 +473,9 @@ int rrdpush_receive(int fd, const char *key, const char *hostname, const char *m
473
rrdhost_unlock(host);
474
475
// call the plugins.d processor to receive the metrics
476
- info("STREAM [receive from [%s]:%s]: connecting client to plugins.d (host '%s', machine GUID '%s').", client_ip, client_port, host->hostname, host->machine_guid);
476
+ info("STREAM [receive from [%s]:%s]: receiving metrics... (host '%s', machine GUID '%s').", client_ip, client_port, host->hostname, host->machine_guid);
477
size_t count = pluginsd_process(host, &cd, fp, 1);
478
- error("STREAM [receive from [%s]:%s]: client disconnected (host '%s', machine GUID '%s', completed updates %zu).", client_ip, client_port, host->hostname, host->machine_guid, count);
478
+ error("STREAM [receive from [%s]:%s]: disconnected (host '%s', machine GUID '%s', completed updates %zu).", client_ip, client_port, host->hostname, host->machine_guid, count);
479
480
rrdhost_wrlock(host);
481
host->use_counter--;