From bd8c044ebb2edf285999d7679875d4ffc1fec69e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 1 May 2006 09:15:52 +0000 Subject: [PATCH] Disable extra logging for particular client IP --- src/yaz-proxy.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/yaz-proxy.cpp b/src/yaz-proxy.cpp index 5c22a64..5b05b41 100644 --- a/src/yaz-proxy.cpp +++ b/src/yaz-proxy.cpp @@ -1,4 +1,4 @@ -/* $Id: yaz-proxy.cpp,v 1.65 2006-05-01 09:14:08 adam Exp $ +/* $Id: yaz-proxy.cpp,v 1.66 2006-05-01 09:15:52 adam Exp $ Copyright (c) 1998-2006, Index Data. This file is part of the yazproxy. @@ -454,8 +454,11 @@ IPDU_Observer *Yaz_Proxy::sessionNotify(IPDU_Observable new_proxy->m_log_mask = m_log_mask; new_proxy->m_session_no = m_session_no; +#if 0 + // in case we want to watch a particular client.. if (!strcmp(peername, "tcp:163.121.19.82")) // NIS GROUP new_proxy->m_log_mask = 255; +#endif new_proxy->set_APDU_log(get_APDU_log()); if (new_proxy->m_log_mask & PROXY_LOG_APDU_CLIENT) -- 1.7.10.4