Add module no, message level and ored value to log
authorDennis Schafroth <dennis@indexdata.com>
Tue, 22 May 2012 16:38:35 +0000 (16:38 +0000)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 22 May 2012 16:38:35 +0000 (16:38 +0000)
test/test_log.c

index faf2822..62119aa 100644 (file)
@@ -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);