X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fstatserv.c;h=c58646fe708cb8ef1216925434a9f36e1ebdb86c;hb=3d4e0c75cee82cc17fa5da38051b072d9bed61a7;hp=e64ac9781627b01796e3feae3e07c3c700c01c0f;hpb=02b6a809f17f142071384ffac8e406b6e9fbd2fb;p=yaz-moved-to-github.git diff --git a/src/statserv.c b/src/statserv.c index e64ac97..c58646f 100644 --- a/src/statserv.c +++ b/src/statserv.c @@ -1035,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) @@ -1359,7 +1360,6 @@ int check_options(int argc, char **argv) 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:",