@cryptotaxi247 / netdata-1 / commits / 6f61b303e

do not report as error plugins calling DISABLE; fixes #1498

Costa Tsaousis committed Jan 3, 2017 at 03:13 UTC 6f61b303ef2b7fb3067805fa5f98e496dbcf941f
1 file changed +1 -1
src/plugins_d.c
+1 -1
@@ -325,7 +325,7 @@ void *pluginsd_worker_thread(void *arg)
325 else if(unlikely(st->debug)) debug(D_PLUGINSD, "PLUGINSD: dimension %s/%s already exists. Not adding it again.", st->id, id);
326 }
327 else if(unlikely(hash == DISABLE_HASH && !strcmp(s, "DISABLE"))) {
328 - error("PLUGINSD: '%s' called DISABLE. Disabling it.", cd->fullfilename);
328 + info("PLUGINSD: '%s' called DISABLE. Disabling it.", cd->fullfilename);
329 cd->enabled = 0;
330 killpid(cd->pid, SIGTERM);
331 break;