Enable apps.plugin aggregation debug messages (#10645)
Vladimir Kobal committed
Feb 16, 2021 at 15:49 UTC
72debac9c81f9c7fc029c64c772c0a0e84766a1a
1 file changed
+1
-2
collectors/apps.plugin/apps_plugin.c
+1
-2
@@ -3879,9 +3879,8 @@ static void parse_args(int argc, char **argv)
3879
}
3880
3881
if(strcmp("debug", argv[i]) == 0) {
3882
-#ifdef NETDATA_INTERNAL_CHECKS
3882
debug_enabled = 1;
3884
-#else
3883
+#ifndef NETDATA_INTERNAL_CHECKS
3884
fprintf(stderr, "apps.plugin has been compiled without debugging\n");
3885
#endif
3886
continue;