From e3f8379e48433d1ba9236f959c2cb4c78da4c38a Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Tue, 2 Jan 2024 19:28:38 +0200 Subject: grpc-proxy: Add a prefix tag for debugging messages Bug-AGL: SPEC-4977 Signed-off-by: Marius Vlad Change-Id: Ib26d0b9f9d47e7d2e2d42b47a9702ba31d03f3b9 --- grpc-proxy/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grpc-proxy') diff --git a/grpc-proxy/log.h b/grpc-proxy/log.h index 9bbba41..459d5b5 100644 --- a/grpc-proxy/log.h +++ b/grpc-proxy/log.h @@ -5,7 +5,7 @@ #define DEBUG #if !defined(LOG) && defined(DEBUG) -#define LOG(fmt, ...) do { fprintf(stderr, "%s() " fmt, __func__, ##__VA_ARGS__); } while (0) +#define LOG(fmt, ...) do { fprintf(stderr, "gRPC:proxy:%s() " fmt, __func__, ##__VA_ARGS__); } while (0) #else #define LOG(fmt, ...) do {} while (0) #endif -- cgit 1.2.3-korg