summaryrefslogtreecommitdiffstats
path: root/daemon/buildinfo.c
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2023-11-30 22:14:57 +0200
committerGitHub <noreply@github.com>2023-11-30 22:14:57 +0200
commit35ffc0c82b4c74fa3f073cfda2df9eedfc8dbd31 (patch)
treed00813d64426ee38883a8cc7ddb6f5f03d9c42e0 /daemon/buildinfo.c
parentd481e70f52f1f0922bece45ccabb72692691e4d6 (diff)
remove system info logging (#16517)
* log system info to debug * function cancel to debug * never log system info * setenv
Diffstat (limited to 'daemon/buildinfo.c')
-rw-r--r--daemon/buildinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemon/buildinfo.c b/daemon/buildinfo.c
index 297919f026..7d585527ce 100644
--- a/daemon/buildinfo.c
+++ b/daemon/buildinfo.c
@@ -1291,7 +1291,7 @@ __attribute__((constructor)) void initialize_build_info(void) {
// ----------------------------------------------------------------------------
// system info
-int get_system_info(struct rrdhost_system_info *system_info, bool log);
+int get_system_info(struct rrdhost_system_info *system_info);
static void populate_system_info(void) {
static bool populated = false;
static SPINLOCK spinlock = NETDATA_SPINLOCK_INITIALIZER;
@@ -1314,7 +1314,7 @@ static void populate_system_info(void) {
}
else {
system_info = callocz(1, sizeof(struct rrdhost_system_info));
- get_system_info(system_info, false);
+ get_system_info(system_info);
free_system_info = true;
}