summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2024-01-02 19:28:38 +0200
committerMarius Vlad <marius.vlad@collabora.com>2024-01-02 19:29:22 +0200
commite3f8379e48433d1ba9236f959c2cb4c78da4c38a (patch)
tree8b2aa80b1171cc022654923c6b8789e9d5651c42
parentae3ef78cb1a01b690917eb8d93a3e68517a7a93d (diff)
grpc-proxy: Add a prefix tag for debugging messages
Bug-AGL: SPEC-4977 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ib26d0b9f9d47e7d2e2d42b47a9702ba31d03f3b9
-rw-r--r--grpc-proxy/log.h2
1 files changed, 1 insertions, 1 deletions
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