diff options
author | Emmanuel Vasilakis <mrzammler@mm.st> | 2023-07-13 11:18:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-13 11:18:40 +0300 |
commit | 3b76a3a3d948d4db89b686af0b139d61ad63e07a (patch) | |
tree | bc5f7ee9d62939de2b6a56d4f30fe330ee97393d /libnetdata | |
parent | b92f0db378a0f66d532bc6300b2a63e35e1bade8 (diff) |
Rename log_access and log_health (#15368)
Diffstat (limited to 'libnetdata')
-rw-r--r-- | libnetdata/log/log.c | 4 | ||||
-rw-r--r-- | libnetdata/log/log.h | 4 |
2 files changed, 4 insertions, 4 deletions
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); |