From 3b76a3a3d948d4db89b686af0b139d61ad63e07a Mon Sep 17 00:00:00 2001 From: Emmanuel Vasilakis Date: Thu, 13 Jul 2023 11:18:40 +0300 Subject: Rename log_access and log_health (#15368) --- libnetdata/log/log.c | 4 ++-- libnetdata/log/log.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libnetdata') diff --git a/libnetdata/log/log.c b/libnetdata/log/log.c index 54543f6f23..e43a4f4649 100644 --- a/libnetdata/log/log.c +++ b/libnetdata/log/log.c @@ -1046,7 +1046,7 @@ void fatal_int( const char *file, const char *function, const unsigned long line // ---------------------------------------------------------------------------- // access log -void log_access( const char *fmt, ... ) { +void netdata_log_access( const char *fmt, ... ) { va_list args; if(access_log_syslog) { @@ -1078,7 +1078,7 @@ void log_access( const char *fmt, ... ) { // ---------------------------------------------------------------------------- // health log -void log_health( const char *fmt, ... ) { +void netdata_log_health( const char *fmt, ... ) { va_list args; if(health_log_syslog) { diff --git a/libnetdata/log/log.h b/libnetdata/log/log.h index 22be73d893..9ced07a9af 100644 --- a/libnetdata/log/log.h +++ b/libnetdata/log/log.h @@ -134,8 +134,8 @@ void info_int( int is_collector, const char *file, const char *function, const u void error_int( int is_collector, const char *prefix, const char *file, const char *function, const unsigned long line, const char *fmt, ... ) PRINTFLIKE(6, 7); void error_limit_int(ERROR_LIMIT *erl, const char *prefix, const char *file __maybe_unused, const char *function __maybe_unused, unsigned long line __maybe_unused, const char *fmt, ... ) PRINTFLIKE(6, 7);; void fatal_int( const char *file, const char *function, const unsigned long line, const char *fmt, ... ) NORETURN PRINTFLIKE(4, 5); -void log_access( const char *fmt, ... ) PRINTFLIKE(1, 2); -void log_health( const char *fmt, ... ) PRINTFLIKE(1, 2); +void netdata_log_access( const char *fmt, ... ) PRINTFLIKE(1, 2); +void netdata_log_health( const char *fmt, ... ) PRINTFLIKE(1, 2); #ifdef ENABLE_ACLK void log_aclk_message_bin( const char *data, const size_t data_len, int tx, const char *mqtt_topic, const char *message_name); -- cgit v1.2.3