YAZ log level "iochan" for event handling logs
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 22 Mar 2010 15:09:26 +0000 (16:09 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 22 Mar 2010 15:09:26 +0000 (16:09 +0100)
src/eventl.c

index 21548b0..8536694 100644 (file)
@@ -70,7 +70,8 @@ iochan_man_t iochan_man_create(int no_threads)
     man->sel_thread = 0; /* can't create sel_thread yet because we may fork */
     man->sel_fd = -1;
     man->no_threads = no_threads;
-    man->log_level = YLOG_LOG;
+    man->log_level = yaz_log_module_level("iochan");
+
     return man;
 }