projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4737b45
)
Log number of event channels
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 25 Mar 2010 13:47:50 +0000
(14:47 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 25 Mar 2010 13:47:50 +0000
(14:47 +0100)
This is done after select returns in the main event loop.
src/eventl.c
patch
|
blob
|
history
diff --git
a/src/eventl.c
b/src/eventl.c
index
e46684d
..
48c1abd
100644
(file)
--- a/
src/eventl.c
+++ b/
src/eventl.c
@@
-236,6
+236,13
@@
static int event_loop(iochan_man_t man, IOCHAN *iochans)
}
}
}
+ if (man->log_level)
+ {
+ int no = 0;
+ for (p = *iochans; p; p = p->next)
+ no++;
+ yaz_log(man->log_level, "%d channels", no);
+ }
for (p = *iochans; p; p = p->next)
{
int force_event = p->force_event;