This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git


The following commit(s) were added to refs/heads/master by this push:
     new ce926a7abb [refactor] delete OLAP_LOG_WARNING related macro definition 
(#9484)
ce926a7abb is described below

commit ce926a7abb335d6837297467c67b4ba1f57e85c9
Author: BePPPower <[email protected]>
AuthorDate: Tue May 10 20:53:45 2022 +0800

    [refactor] delete OLAP_LOG_WARNING related macro definition (#9484)
    
    Co-authored-by: BePPPower <[email protected]>
---
 be/src/olap/utils.h | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/be/src/olap/utils.h b/be/src/olap/utils.h
index 9e3c18fabb..612d3ac455 100644
--- a/be/src/olap/utils.h
+++ b/be/src/olap/utils.h
@@ -281,29 +281,6 @@ bool valid_datetime(const std::string& value_str);
 
 bool valid_bool(const std::string& value_str);
 
-#define OLAP_LOG_WRITE(level, fmt, arg...)      \
-    do {                                        \
-        char buf[10240] = {0};                  \
-        write_log_info(buf, 10240, fmt, ##arg); \
-        LOG(level) << buf;                      \
-    } while (0)
-
-#define OLAP_VLOG_WRITE(level, fmt, arg...)         \
-    do {                                            \
-        if (OLAP_UNLIKELY(VLOG_IS_ON(level))) {     \
-            char buf[10240] = {0};                  \
-            write_log_info(buf, 10240, fmt, ##arg); \
-            VLOG(level) << buf;                     \
-        }                                           \
-    } while (0)
-
-// Log define for non-network usage
-// 屏蔽DEBUG和TRACE日志以满足性能测试需求
-#define OLAP_LOG_WARNING(fmt, arg...) OLAP_LOG_WRITE(WARNING, fmt, ##arg)
-#define OLAP_LOG_NOTICE_DIRECT_SOCK(fmt, arg...) OLAP_LOG_WRITE(INFO, fmt, 
##arg)
-#define OLAP_LOG_WARNING_SOCK(fmt, arg...) OLAP_LOG_WRITE(WARNING, fmt, ##arg)
-#define OLAP_LOG_SETBASIC(type, fmt, arg...)
-
 // Util used to get string name of thrift enum item
 #define EnumToString(enum_type, index, out)                 \
     do {                                                    \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to