The call to yaz_log_xml_errors have been moved to new_session which
is when a worker thread is active. Using xmlSetGenericError func and
friends fails if set in mother thread.
COMSTACK new_line = (COMSTACK) vp;
IOCHAN parent_chan = (IOCHAN) new_line->user;
+ yaz_log_xml_errors(0, YLOG_WARN);
unsigned cs_get_mask, cs_accept_mask, mask =
((new_line->io_pending & CS_WANT_WRITE) ? EVENT_OUTPUT : 0) |
((new_line->io_pending & CS_WANT_READ) ? EVENT_INPUT : 0);
yaz_log_init_level(yaz_log_mask_str(STAT_DEFAULT_LOG_LEVEL));
- yaz_log_xml_errors(0, YLOG_WARN);
get_logbits(1);
while ((ret = options("1a:iszSTl:v:u:c:w:t:k:d:A:p:DC:f:m:r:",