X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Frecstat.c;h=c86d82069265a2d865b0afa50244ba4bad1d01d3;hb=dc030e8fbc67937e0fa1812f6ce4a8ab728d092c;hp=1ea05bc690e22cbb79dd247120985062c6430ebe;hpb=6693bfefd0758c7679282ec57e7b3cb1a2f4f55f;p=idzebra-moved-to-github.git diff --git a/index/recstat.c b/index/recstat.c index 1ea05bc..c86d820 100644 --- a/index/recstat.c +++ b/index/recstat.c @@ -1,6 +1,6 @@ -/* $Id: recstat.c,v 1.11 2004-08-16 12:09:43 heikki Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 - Index Data Aps +/* $Id: recstat.c,v 1.13 2005-01-15 19:38:26 adam Exp $ + Copyright (C) 1995-2005 + Index Data ApS This file is part of the Zebra server. @@ -35,15 +35,15 @@ void rec_prstat (Records records) int i; zint total_bytes = 0; - logf (LOG_LOG, + yaz_log (YLOG_LOG, "Total records %8" ZINT_FORMAT0, records->head.no_records); for (i = 0; i< REC_BLOCK_TYPES; i++) { - logf (LOG_LOG, "Record blocks of size "ZINT_FORMAT, + yaz_log (YLOG_LOG, "Record blocks of size "ZINT_FORMAT, records->head.block_size[i]); - logf (LOG_LOG, + yaz_log (YLOG_LOG, " Used/Total/Bytes used " ZINT_FORMAT "/" ZINT_FORMAT "/" ZINT_FORMAT, records->head.block_used[i], records->head.block_last[i]-1, @@ -51,10 +51,10 @@ void rec_prstat (Records records) total_bytes += records->head.block_used[i] * records->head.block_size[i]; } - logf (LOG_LOG, + yaz_log (YLOG_LOG, "Total size of record index in bytes %8" ZINT_FORMAT0, records->head.total_bytes); - logf (LOG_LOG, + yaz_log (YLOG_LOG, "Total size with overhead %8" ZINT_FORMAT0, total_bytes); }