You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2022/02/18 00:42:49 UTC
[kudu] 02/03: [util] harmonize logging.h
This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit b18e07a18fec1ecc868e18acbf06a19f4d8a410f
Author: Andrew Wong <aw...@cloudera.com>
AuthorDate: Wed Feb 16 18:40:45 2022 -0800
[util] harmonize logging.h
This adds the ::kudu namespace to logging::LogThrottler, to match
changes required for Impala to use the library.
Change-Id: Ie3c6a4597cda3077df3374e907eb8672d279d9e9
Reviewed-on: http://gerrit.cloudera.org:8080/18247
Tested-by: Alexey Serbin <as...@cloudera.com>
Reviewed-by: Alexey Serbin <as...@cloudera.com>
---
src/kudu/util/logging.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kudu/util/logging.h b/src/kudu/util/logging.h
index f8b03b5..8e2241f 100644
--- a/src/kudu/util/logging.h
+++ b/src/kudu/util/logging.h
@@ -162,7 +162,7 @@ class ScopedDisableRedaction {
&google::LogMessage::SendToLog).stream()
#define KLOG_EVERY_N_SECS(severity, n_secs) \
- static logging::LogThrottler LOG_THROTTLER; \
+ static ::kudu::logging::LogThrottler LOG_THROTTLER; \
KLOG_EVERY_N_SECS_THROTTLER(severity, n_secs, LOG_THROTTLER, "no-tag")
#define WARN_NOT_OK_EVERY_N_SECS(to_call, warning_prefix, n_secs) do { \