Updates for yaz/ylog.h
[yazpp-moved-to-github.git] / src / yaz-z-server-update.cpp
index ccfacf1..0b1d70e 100644 (file)
@@ -2,10 +2,10 @@
  * Copyright (c) 2000-2003, Index Data.
  * See the file LICENSE for details.
  * 
- * $Id: yaz-z-server-update.cpp,v 1.5 2003-10-01 13:13:51 adam Exp $
+ * $Id: yaz-z-server-update.cpp,v 1.6 2004-11-30 21:10:31 adam Exp $
  */
 
-#include <yaz/log.h>
+#include <yaz/ylog.h>
 #include <yaz++/z-server.h>
 
 int Yaz_Facility_Update::init(Yaz_Z_Server *s, Z_InitRequest *initRequest,
@@ -29,7 +29,6 @@ int Yaz_Facility_Update::recv(Yaz_Z_Server *s, Z_APDU *apdu_request)
     if (req->taskSpecificParameters && req->taskSpecificParameters->which ==
         Z_External_update)
     {
-       yaz_log (LOG_LOG, "got update p=%p", this);
        apdu_response = s->create_Z_PDU(Z_APDU_extendedServicesResponse);
        update_service(req, req->taskSpecificParameters->u.update,
                       apdu_response->u.extendedServicesResponse);
@@ -39,7 +38,6 @@ int Yaz_Facility_Update::recv(Yaz_Z_Server *s, Z_APDU *apdu_request)
     else if (req->taskSpecificParameters &&
             req->taskSpecificParameters->which == Z_External_update0)
     {
-       yaz_log (LOG_LOG, "got update p=%p", this);
        apdu_response = s->create_Z_PDU(Z_APDU_extendedServicesResponse);
        update_service0 (req, req->taskSpecificParameters->u.update0,
                         apdu_response->u.extendedServicesResponse);