Disable extra logging for particular client IP
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 1 May 2006 09:15:52 +0000 (09:15 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 1 May 2006 09:15:52 +0000 (09:15 +0000)
src/yaz-proxy.cpp

index 5c22a64..5b05b41 100644 (file)
@@ -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)