blob: 26b46db5f76d94328d9fd3df6e7e002e2810c16e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From: Debian Mobcom Maintainers
<Debian-mobcom-maintainers@lists.alioth.debian.org>
Date: Wed, 13 Nov 2024 12:13:17 -0300
Subject: a_include_freeDiameter_libfdproto.h
---
include/freeDiameter/libfdproto.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/freeDiameter/libfdproto.h b/include/freeDiameter/libfdproto.h
index 66f4b3b..26f8617 100644
--- a/include/freeDiameter/libfdproto.h
+++ b/include/freeDiameter/libfdproto.h
@@ -298,7 +298,7 @@ static char * file_bname_init(char * full) { file_bname = basename(full); return
/* In DEBUG mode, we add meta-information along each trace. This makes multi-threading problems easier to debug. */
-#if (defined(DEBUG) && defined(DEBUG_WITH_META))
+#if 1 /* Open5GS : enable log file and line number */
# define STD_TRACE_FMT_STRING "pid:%s in %s@%s:%d: "
# define STD_TRACE_FMT_ARGS , ((char *)pthread_getspecific(fd_log_thname) ?: "unnamed"), __PRETTY_FUNCTION__, __STRIPPED_FILE__, __LINE__
#else /* DEBUG && DEBUG_WITH_META */
|