You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2006/01/26 11:57:54 UTC

svn commit: r372502 - in /webservices/axis2/trunk/c/modules/core/deployment: arch_reader.c dep_engine.c

Author: damitha
Date: Thu Jan 26 02:57:46 2006
New Revision: 372502

URL: http://svn.apache.org/viewcvs?rev=372502&view=rev
Log:
Added log messages instead of printf's

Modified:
    webservices/axis2/trunk/c/modules/core/deployment/arch_reader.c
    webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c

Modified: webservices/axis2/trunk/c/modules/core/deployment/arch_reader.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/arch_reader.c?rev=372502&r1=372501&r2=372502&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/arch_reader.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/arch_reader.c Thu Jan 26 02:57:46 2006
@@ -319,7 +319,6 @@
     AXIS2_FREE((*env)->allocator, temp_path3);
     AXIS2_FREE((*env)->allocator, svc_container_path);
     AXIS2_FREE((*env)->allocator, svc_folder);
-    printf("svcs_xml:%s\n", svcs_xml);
     if(!svcs_xml)
     {
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
@@ -339,7 +338,6 @@
         }
         arch_file_data = AXIS2_DEP_ENGINE_GET_CURRENT_FILE_ITEM(dep_engine, env);
         svc_name = AXIS2_ARCH_FILE_DATA_GET_SVC_NAME(arch_file_data, env);
-        printf("svc_grp_name:%s\n", svc_name);
         AXIS2_SVC_GRP_SET_NAME(svc_grp, env, svc_name);
     } else 
     {
@@ -378,7 +376,6 @@
     AXIS2_DESC_BUILDER_FREE(desc_builder, env);
     svcs_element = AXIS2_OM_NODE_GET_DATA_ELEMENT(svcs, env);
     root_element_name = AXIS2_OM_ELEMENT_GET_LOCALNAME(svcs_element, env);
-    printf("root_element_name:%s\n", root_element_name);
     if(0 == AXIS2_STRCMP(AXIS2_SVC_ELEMENT, root_element_name))
     {
         axis2_svc_t *svc = NULL;
@@ -413,7 +410,10 @@
         AXIS2_SVC_BUILDER_FREE(svc_builder, env);
         if(AXIS2_SUCCESS != status)
         {
-            printf("populate svc is not successful\n");
+            axis2_char_t message[1024];
+            sprintf(message, "%s:%d - populating service is not successful\n:", __FILE__, __LINE__);
+            AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+
             return AXIS2_FAILURE;
         }
         

Modified: webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c?rev=372502&r1=372501&r2=372502&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c Thu Jan 26 02:57:46 2006
@@ -1291,7 +1291,6 @@
     engine_impl = AXIS2_INTF_TO_IMPL(dep_engine);
     
     size = AXIS2_ARRAY_LIST_SIZE(engine_impl->ws_to_deploy, env);
-    printf("number of service directories deployed:%d\n", size);
     if (size > 0) 
     {
         int i = 0;