summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2021-02-16 15:49:34 +0200
committerGitHub <noreply@github.com>2021-02-16 16:49:34 +0300
commit72debac9c81f9c7fc029c64c772c0a0e84766a1a (patch)
tree63d344490910a79dcd3a268df0284d4a5fb8de94 /collectors
parent57adb073c5135d88a2b62036612a8650df528bd9 (diff)
Enable apps.plugin aggregation debug messages (#10645)
Diffstat (limited to 'collectors')
-rw-r--r--collectors/apps.plugin/apps_plugin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/collectors/apps.plugin/apps_plugin.c b/collectors/apps.plugin/apps_plugin.c
index 0cfeeacd48..7cbbb075c4 100644
--- a/collectors/apps.plugin/apps_plugin.c
+++ b/collectors/apps.plugin/apps_plugin.c
@@ -3879,9 +3879,8 @@ static void parse_args(int argc, char **argv)
}
if(strcmp("debug", argv[i]) == 0) {
-#ifdef NETDATA_INTERNAL_CHECKS
debug_enabled = 1;
-#else
+#ifndef NETDATA_INTERNAL_CHECKS
fprintf(stderr, "apps.plugin has been compiled without debugging\n");
#endif
continue;