debug: add PROXY category, move all proxy logs to it
This commit is contained in:
1 parent
0de44e3117
commit
869f7c60d5
7 files changed
+175
-173
No files matched your search
@@ -126,6 +126,7 @@ static const struct {
|
||||
{"etcp_dump", DEBUG_CATEGORY_ETCP_DUMP},
|
||||
{"chat_sync", DEBUG_CATEGORY_CHAT_SYNC},
|
||||
{"member_sync", DEBUG_CATEGORY_MEMBER_SYNC},
|
||||
{"proxy", DEBUG_CATEGORY_PROXY},
|
||||
{"all", DEBUG_CATEGORY_ALL},
|
||||
{NULL, DEBUG_CATEGORY_NONE}
|
||||
};
|
||||
|
||||
+2
-1
@@ -66,7 +66,8 @@ typedef int debug_category_t;
|
||||
// #define DEBUG_CATEGORY_CONNECTIVITY 25 (unused, removed)
|
||||
#define DEBUG_CATEGORY_CHAT_SYNC 26 // Message DB sync (INIT_SYNC, PUSH, chain hash, recalc)
|
||||
#define DEBUG_CATEGORY_MEMBER_SYNC 27 // Member + address + merkle sync
|
||||
#define DEBUG_CATEGORY_COUNT 28 // Total number of categories
|
||||
#define DEBUG_CATEGORY_PROXY 28 // Proxy modules (SOCKS5, TCP, UDP, ICMP)
|
||||
#define DEBUG_CATEGORY_COUNT 29 // Total number of categories
|
||||
#define DEBUG_CATEGORY_ALL (-1) // special value for all categories
|
||||
|
||||
/* Debug configuration structure */
|
||||
|
||||
Reference in new issue
Block a user