From 9e0a9b423b46c3b4f6a247ee29291c376df7554d Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 4 Sep 2000 08:59:16 +0000 Subject: [PATCH] Changed call to logging functions (yaz_ added). --- src/yaz-client.cpp | 7 +++++-- src/yaz-proxy-main.cpp | 7 +++++-- src/yaz-z-assoc.cpp | 7 +++++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/yaz-client.cpp b/src/yaz-client.cpp index a6558dc..98f13dc 100644 --- a/src/yaz-client.cpp +++ b/src/yaz-client.cpp @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: yaz-client.cpp,v $ - * Revision 1.11 2000-07-04 13:48:49 adam + * Revision 1.12 2000-09-04 08:59:16 adam + * Changed call to logging functions (yaz_ added). + * + * Revision 1.11 2000/07/04 13:48:49 adam * Implemented upper-limit on proxy-to-target sessions. * * Revision 1.10 2000/05/30 03:12:27 ian @@ -666,7 +669,7 @@ int MyClient::args(Yaz_SocketManager *socketManager, int argc, char **argv) set_cookie(arg); break; case 'v': - log_init_level (log_mask_str(arg)); + yaz_log_init_level (yaz_log_mask_str(arg)); break; case 'q': m_interactive_flag = 0; diff --git a/src/yaz-proxy-main.cpp b/src/yaz-proxy-main.cpp index 6d98175..42081a9 100644 --- a/src/yaz-proxy-main.cpp +++ b/src/yaz-proxy-main.cpp @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: yaz-proxy-main.cpp,v $ - * Revision 1.9 2000-08-07 14:19:59 adam + * Revision 1.10 2000-09-04 08:59:16 adam + * Changed call to logging functions (yaz_ added). + * + * Revision 1.9 2000/08/07 14:19:59 adam * Fixed serious bug regarding timeouts. Improved logging for proxy. * * Revision 1.8 2000/07/04 13:48:49 adam @@ -76,7 +79,7 @@ int args(Yaz_Proxy *proxy, int argc, char **argv) proxy->set_proxyTarget(arg); break; case 'v': - log_init_level (log_mask_str(arg)); + yaz_log_init_level (yaz_log_mask_str(arg)); break; case 'c': proxy->set_max_clients(atoi(arg)); diff --git a/src/yaz-z-assoc.cpp b/src/yaz-z-assoc.cpp index 0a6503d..d62bed2 100644 --- a/src/yaz-z-assoc.cpp +++ b/src/yaz-z-assoc.cpp @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: yaz-z-assoc.cpp,v $ - * Revision 1.10 2000-09-04 08:29:22 adam + * Revision 1.11 2000-09-04 08:59:16 adam + * Changed call to logging functions (yaz_ added). + * + * Revision 1.10 2000/09/04 08:29:22 adam * Fixed memory leak(s). Added re-use of associations, rather than * re-init, when maximum number of targets are in use. * @@ -154,7 +157,7 @@ Z_APDU *Yaz_Z_Assoc::decode_Z_PDU(const char *buf, int len) odr_errmsg(odr_geterror(m_odr_in)), odr_offset(m_odr_in)); logf(LOG_LOG, "PDU dump:"); - odr_dumpBER(log_file(), buf, len); + odr_dumpBER(yaz_log_file(), buf, len); return 0; } else -- 1.7.10.4