summaryrefslogtreecommitdiffstats
path: root/collectors/proc.plugin
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2023-07-11 14:45:16 +0000
committerGitHub <noreply@github.com>2023-07-11 14:45:16 +0000
commitf672f4a95584da2a9978f5dca11eba34dc8a8c3b (patch)
treed8b6a1233d2d107725f179fc07d0b6317e7be859 /collectors/proc.plugin
parentf00b3980162bbe731475d53afd4e7df9559a4d27 (diff)
Rename log Macros (debug) (#15322)
Diffstat (limited to 'collectors/proc.plugin')
-rw-r--r--collectors/proc.plugin/plugin_proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/proc.plugin/plugin_proc.c b/collectors/proc.plugin/plugin_proc.c
index 1f52713ce7..04d205e296 100644
--- a/collectors/proc.plugin/plugin_proc.c
+++ b/collectors/proc.plugin/plugin_proc.c
@@ -139,7 +139,7 @@ void *proc_main(void *ptr)
if (config_get_boolean("plugin:proc", "/proc/net/dev", CONFIG_BOOLEAN_YES)) {
netdev_thread = mallocz(sizeof(netdata_thread_t));
- debug(D_SYSTEM, "Starting thread %s.", THREAD_NETDEV_NAME);
+ netdata_log_debug(D_SYSTEM, "Starting thread %s.", THREAD_NETDEV_NAME);
netdata_thread_create(
netdev_thread, THREAD_NETDEV_NAME, NETDATA_THREAD_OPTION_JOINABLE, netdev_main, netdev_thread);
}
@@ -180,7 +180,7 @@ void *proc_main(void *ptr)
if (unlikely(!pm->enabled))
continue;
- debug(D_PROCNETDEV_LOOP, "PROC calling %s.", pm->name);
+ netdata_log_debug(D_PROCNETDEV_LOOP, "PROC calling %s.", pm->name);
worker_is_busy(i);
pm->enabled = !pm->func(localhost->rrd_update_every, hb_dt);