projects
/
yaz-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:
55828a6
)
Add module no, message level and ored value to log
author
Dennis Schafroth
<dennis@indexdata.com>
Tue, 22 May 2012 16:38:35 +0000
(16:38 +0000)
committer
Dennis Schafroth
<dennis@indexdata.com>
Tue, 22 May 2012 16:38:35 +0000
(16:38 +0000)
test/test_log.c
patch
|
blob
|
history
diff --git
a/test/test_log.c
b/test/test_log.c
index
faf2822
..
62119aa
100644
(file)
--- a/
test/test_log.c
+++ b/
test/test_log.c
@@
-69,7
+69,7
@@
int main(int argc, char **argv)
case 0:
for (i = 0; i<number; i++)
{
- yaz_log(module_no|message_level, "%d %s", i, arg);
+ yaz_log(module_no|message_level, "module no: %d, message_level: %d combined: %d %d %s", module_no, message_level, module_no|message_level, i, arg);
#if HAVE_UNISTD_H
if (wait_between_log)
sleep(wait_between_log);