From 713af8e9443277f408117ce7f248c0c30595b30e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 18 May 2005 12:20:34 +0000 Subject: [PATCH] Use another log level LOG_APP2 for LOG_API always --- index/zebraapi.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/index/zebraapi.c b/index/zebraapi.c index ee390c7..e92b6f6 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -1,4 +1,4 @@ -/* $Id: zebraapi.c,v 1.120.2.6 2005-05-12 10:01:54 adam Exp $ +/* $Id: zebraapi.c,v 1.120.2.7 2005-05-18 12:20:34 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -43,13 +43,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #define ASSERTZHRES assert(zh && zh->service && zh->res) #define ASSERTZS assert(zs) -/* A simple log macro */ -/* don't break with older yazen that lack log_app2 */ -#ifdef LOG_APP2 #define LOG_API LOG_APP2 -#else -#define LOG_API LOG_DEBUG -#endif static Res zebra_open_res (ZebraHandle zh); static void zebra_close_res (ZebraHandle zh); @@ -94,7 +88,6 @@ ZebraHandle zebra_open (ZebraService zs) ZebraHandle zh; const char *default_encoding; ASSERTZS; - yaz_log(LOG_API,"zebra_open"); if (!zs) return 0; -- 1.7.10.4