From dc068db61c02117e4e7e4aa3136f055965ec063c Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sun, 8 May 2005 07:13:57 +0000 Subject: [PATCH] Fixed bug #322: yaz server does not log listener address if given --- src/statserv.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/statserv.c b/src/statserv.c index dfba86b..b92aac4 100644 --- a/src/statserv.c +++ b/src/statserv.c @@ -5,7 +5,7 @@ * NT threaded server code by * Chas Woodfield, Fretwell Downing Informatics. * - * $Id: statserv.c,v 1.29 2005-03-14 11:14:21 adam Exp $ + * $Id: statserv.c,v 1.30 2005-05-08 07:13:57 adam Exp $ */ /** @@ -1297,6 +1297,7 @@ int check_options(int argc, char **argv) control_block.loglevel = yaz_log_mask_str(STAT_DEFAULT_LOG_LEVEL); yaz_log_init_level(control_block.loglevel); + get_logbits(1); while ((ret = options("1a:iszSTl:v:u:c:w:t:k:d:A:p:DC:f:", argv, argc, &arg)) != -2) { @@ -1340,6 +1341,7 @@ int check_options(int argc, char **argv) control_block.loglevel = yaz_log_mask_str_x(arg,control_block.loglevel); yaz_log_init(control_block.loglevel, me, control_block.logfile); + get_logbits(1); break; case 'a': option_copy(control_block.apdufile, arg); @@ -1407,7 +1409,6 @@ int check_options(int argc, char **argv) return 1; } } - get_logbits(1); return 0; } -- 1.7.10.4