Remove two YLOG_DEBUG logs
[pazpar2-moved-to-github.git] / src / eventl.c
index 21548b0..e46684d 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;
 }
 
@@ -264,13 +265,11 @@ static int event_loop(iochan_man_t man, IOCHAN *iochans)
                 if (FD_ISSET(p->fd, &in) || force_event == EVENT_INPUT)
                 {
                     p->last_event = now;
-                    yaz_log(YLOG_DEBUG, "Eventl input event");
                     p->this_event |= EVENT_INPUT;
                 }
                 if (FD_ISSET(p->fd, &out) || force_event == EVENT_OUTPUT)
                 {
                     p->last_event = now;
-                    yaz_log(YLOG_DEBUG, "Eventl output event");
                     p->this_event |= EVENT_OUTPUT;
                 }
                 if (FD_ISSET(p->fd, &except) || force_event == EVENT_EXCEPT)