This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 0fc7e37d5a [cachekey] Cleanup debug log (#12084)
0fc7e37d5a is described below
commit 0fc7e37d5a035a413319b628d5cdcaf655639930
Author: Masaori Koshiba <[email protected]>
AuthorDate: Thu Mar 6 09:42:06 2025 +0900
[cachekey] Cleanup debug log (#12084)
---
plugins/cachekey/common.h | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/plugins/cachekey/common.h b/plugins/cachekey/common.h
index 7ac55c647d..71288a2dbe 100644
--- a/plugins/cachekey/common.h
+++ b/plugins/cachekey/common.h
@@ -50,14 +50,14 @@ void PrintToStdErr(const char *fmt, ...);
extern DbgCtl CacheKey_dbg_ctl;
-#define CacheKeyDebug(fmt, ...)
\
- do {
\
- Dbg(CacheKey_dbg_ctl, "%s:%d:%s() " fmt, __FILE__, __LINE__, __func__,
##__VA_ARGS__); \
+#define CacheKeyDebug(fmt, ...) \
+ do { \
+ Dbg(CacheKey_dbg_ctl, fmt, ##__VA_ARGS__); \
} while (0)
-#define CacheKeyError(fmt, ...)
\
- do {
\
- TSError("(%s) " fmt, PLUGIN_NAME, ##__VA_ARGS__);
\
- Dbg(CacheKey_dbg_ctl, "%s:%d:%s() " fmt, __FILE__, __LINE__, __func__,
##__VA_ARGS__); \
+#define CacheKeyError(fmt, ...) \
+ do { \
+ TSError("(%s) " fmt, PLUGIN_NAME, ##__VA_ARGS__); \
+ Dbg(CacheKey_dbg_ctl, fmt, ##__VA_ARGS__); \
} while (0)
#endif /* CACHEKEY_UNIT_TEST */