X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Fapi%2Ft8.c;fp=test%2Fapi%2Ft8.c;h=a6b384398bf32f468c3daf149fd288b6632399ef;hb=0229bb1ac74706a4e460a11a8a8712b4ea0f2ebe;hp=741e5ea181e5ddf4a43e95e913e33ffc3d08fa37;hpb=7e43f744009a08592183399575f93500dbde7bae;p=idzebra-moved-to-github.git diff --git a/test/api/t8.c b/test/api/t8.c index 741e5ea..a6b3843 100644 --- a/test/api/t8.c +++ b/test/api/t8.c @@ -1,4 +1,4 @@ -/* $Id: t8.c,v 1.1 2004-10-01 15:36:41 heikki Exp $ +/* $Id: t8.c,v 1.2 2004-10-15 10:07:34 heikki Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -27,6 +27,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include +#define LOGLEVEL LOG_ALL static int testno=1; /* read zebra.cfg from env var srcdir if it exists; otherwise current dir */ @@ -126,7 +127,9 @@ int main(int argc, char **argv) ZebraService zs; ZebraHandle zh; yaz_log_init_file("t8.log"); - /* yaz_log_init_level(LOG_ALL); */ +#ifdef LOGLEVEL + yaz_log_init_level(LOGLEVEL); +#endif nmem_init ();