projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LOGGING: more debug messages to hide in eventqueue
[citadel.git]
/
citadel
/
event_client.h
diff --git
a/citadel/event_client.h
b/citadel/event_client.h
index 9ed142eeb874f37b5bcf2eb0a43a8803933523d9..7b56f4d286cb2da16e63ce1123e4c36c068e843e 100644
(file)
--- a/
citadel/event_client.h
+++ b/
citadel/event_client.h
@@
-188,14
+188,20
@@
extern int DebugCAres;
#define CCID ((CitContext*)IO->CitContext)->cs_pid
#define CCID ((CitContext*)IO->CitContext)->cs_pid
+#define EVQ_syslog(LEVEL, FORMAT, ...) \
+ EDBGLOG (LEVEL) syslog(LEVEL, "IOQ " FORMAT, __VA_ARGS__)
+
+#define EVQM_syslog(LEVEL, FORMAT) \
+ EDBGLOG (LEVEL) syslog(LEVEL, "IO " FORMAT)
+
#define EV_syslog(LEVEL, FORMAT, ...) \
#define EV_syslog(LEVEL, FORMAT, ...) \
- EDBGLOG (LEVEL) syslog(LEVEL, "IO[%ld]CC[%d]" FORMAT, IO->ID, CCID, __VA_ARGS__)
+ EDBGLOG (LEVEL) syslog(LEVEL, "IO[%ld]CC[%d]
" FORMAT, IO->ID, CCID, __VA_ARGS__)
#define EVM_syslog(LEVEL, FORMAT) \
#define EVM_syslog(LEVEL, FORMAT) \
- EDBGLOG (LEVEL) syslog(LEVEL, "IO[%ld]CC[%d]" FORMAT, IO->ID, CCID)
+ EDBGLOG (LEVEL) syslog(LEVEL, "IO[%ld]CC[%d]
" FORMAT, IO->ID, CCID)
#define EVNC_syslog(LEVEL, FORMAT, ...) \
#define EVNC_syslog(LEVEL, FORMAT, ...) \
- EDBGLOG (LEVEL) syslog(LEVEL, "IO[%ld]" FORMAT, IO->ID, __VA_ARGS__)
+ EDBGLOG (LEVEL) syslog(LEVEL, "IO[%ld]
" FORMAT, IO->ID, __VA_ARGS__)
#define EVNCM_syslog(LEVEL, FORMAT) EDBGLOG (LEVEL) syslog(LEVEL, "IO[%ld]" FORMAT, IO->ID)
#define EVNCM_syslog(LEVEL, FORMAT) EDBGLOG (LEVEL) syslog(LEVEL, "IO[%ld]" FORMAT, IO->ID)
@@
-264,7
+270,7
@@
void SetNextTimeout(AsyncIO *IO, double timeout);
do { \
sta = curl_easy_setopt(chnd, (CURLOPT_##s), (v)); \
if (sta) { \
do { \
sta = curl_easy_setopt(chnd, (CURLOPT_##s), (v)); \
if (sta) { \
-
syslog(LOG_ERR,
\
+
EVQ_syslog(LOG_ERR,
\
"error setting option " #s \
" on curl handle: %s", \
curl_easy_strerror(sta)); \
"error setting option " #s \
" on curl handle: %s", \
curl_easy_strerror(sta)); \