X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fstatserv.c;h=c58646fe708cb8ef1216925434a9f36e1ebdb86c;hb=3d4e0c75cee82cc17fa5da38051b072d9bed61a7;hp=9c252e7904ed6cb4a9e84d37884a7174a3fce502;hpb=dfe360ef9c3b9ae84a2812bed499c1ac1b84b16d;p=yaz-moved-to-github.git diff --git a/src/statserv.c b/src/statserv.c index 9c252e7..c58646f 100644 --- a/src/statserv.c +++ b/src/statserv.c @@ -998,7 +998,6 @@ static void *new_session(void *vp) 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); @@ -1036,6 +1035,7 @@ static void *new_session(void *vp) #else a = 0; #endif + yaz_log_xml_errors(0, YLOG_WARN); yaz_log(log_session, "Session - OK %d %s %ld", no_sessions, a ? a : "[Unknown]", (long) getpid()); if (max_sessions && no_sessions >= max_sessions)