From: Pavel Rochnyack Date: Mon, 13 May 2019 07:26:22 +0000 (+0700) Subject: virt plugin: Added debug message X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=1b9bd204fc574986b2aea595b2ffe5bc3a4a9520;p=collectd.git virt plugin: Added debug message --- diff --git a/src/virt.c b/src/virt.c index 1fdf45bd..62e6089c 100644 --- a/src/virt.c +++ b/src/virt.c @@ -2258,8 +2258,11 @@ static int lv_read(user_data_t *ud) { return -1; /* Wait until inst#0 establish connection */ - if (conn == NULL) + if (conn == NULL) { + DEBUG(PLUGIN_NAME " plugin#%s: Wait until inst#0 establish connection", + inst->tag); return 0; + } time_t t; time(&t);