From ab1bb5b7f1c3c3a7b240ab7fc8661459ecd7decb Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 20 Jul 2023 06:49:55 +0200 Subject: Adding upstream version 1.41.0. Signed-off-by: Daniel Baumann --- collectors/timex.plugin/plugin_timex.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'collectors/timex.plugin/plugin_timex.c') diff --git a/collectors/timex.plugin/plugin_timex.c b/collectors/timex.plugin/plugin_timex.c index 84147c851..025b699a1 100644 --- a/collectors/timex.plugin/plugin_timex.c +++ b/collectors/timex.plugin/plugin_timex.c @@ -37,7 +37,7 @@ static void timex_main_cleanup(void *ptr) struct netdata_static_thread *static_thread = (struct netdata_static_thread *)ptr; static_thread->enabled = NETDATA_MAIN_THREAD_EXITING; - info("cleaning up..."); + netdata_log_info("cleaning up..."); static_thread->enabled = NETDATA_MAIN_THREAD_EXITED; } @@ -57,7 +57,7 @@ void *timex_main(void *ptr) int do_offset = config_get_boolean(CONFIG_SECTION_TIMEX, "time offset", CONFIG_BOOLEAN_YES); if (unlikely(do_sync == CONFIG_BOOLEAN_NO && do_offset == CONFIG_BOOLEAN_NO)) { - info("No charts to show"); + netdata_log_info("No charts to show"); goto exit; } @@ -79,7 +79,7 @@ void *timex_main(void *ptr) prev_sync_state = sync_state; if (non_seq_failure) { - error("Cannot get clock synchronization state"); + netdata_log_error("Cannot get clock synchronization state"); continue; } -- cgit v1.2.3