axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sam...@apache.org
Subject svn commit: r373440 - in /webservices/axis2/trunk/c: include/ modules/core/deployment/ modules/core/engine/ modules/core/receivers/ modules/core/transport/http/receiver/ modules/core/transport/http/sender/ modules/core/transport/http/server/ modules/ut...
Date Mon, 30 Jan 2006 05:09:20 GMT
Author: samisa
Date: Sun Jan 29 21:08:48 2006
New Revision: 373440

URL: http://svn.apache.org/viewcvs?rev=373440&view=rev
Log:
Fixed the log level name

Modified:
    webservices/axis2/trunk/c/include/axis2_log.h
    webservices/axis2/trunk/c/modules/core/deployment/arch_reader.c
    webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c
    webservices/axis2/trunk/c/modules/core/engine/addr_disp.c
    webservices/axis2/trunk/c/modules/core/engine/disp_checker.c
    webservices/axis2/trunk/c/modules/core/engine/engine.c
    webservices/axis2/trunk/c/modules/core/engine/phase.c
    webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c
    webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c
    webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c
    webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c
    webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c
    webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c
    webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c
    webservices/axis2/trunk/c/modules/core/transport/http/server/http_server_main.c
    webservices/axis2/trunk/c/modules/util/log.c
    webservices/axis2/trunk/c/modules/util/network_handler.c
    webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
    webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_reader_wrapper.c
    webservices/axis2/trunk/c/modules/xml/soap/soap12_builder_helper.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_body.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c
    webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c

Modified: webservices/axis2/trunk/c/include/axis2_log.h
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/include/axis2_log.h?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/include/axis2_log.h (original)
+++ webservices/axis2/trunk/c/include/axis2_log.h Sun Jan 29 21:08:48 2006
@@ -39,15 +39,15 @@
     typedef enum axis2_log_levels
     {
         /** Critical level, logs only critical errors */
-        AXIS2_LOG_CRITICAL = 0,
+        AXIS2_LOG_LEVEL_CRITICAL = 0,
         /** Error level, logs only errors */
-        AXIS2_LOG_ERROR,
+        AXIS2_LOG_LEVEL_ERROR,
         /** Warning level, logs only warnings */
-        AXIS2_LOG_WARNING,
+        AXIS2_LOG_LEVEL_WARNING,
         /** Info level, logs information */
-        AXIS2_LOG_INFO,
+        AXIS2_LOG_LEVEL_INFO,
         /** Debug level, logs everything */
-        AXIS2_LOG_DEBUG
+        AXIS2_LOG_LEVEL_DEBUG
     } axis2_log_levels_t;
 
   /** 

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=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/arch_reader.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/arch_reader.c Sun Jan 29 21:08:48 2006
@@ -412,7 +412,7 @@
         {
             axis2_char_t message[1024];
             sprintf(message, "%s:%d - populating service is not successful\n:", __FILE__,
__LINE__);
-            AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+            AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
 
             return AXIS2_FAILURE;
         }

Modified: webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c Sun Jan 29 21:08:48 2006
@@ -354,7 +354,7 @@
     dll_path = AXIS2_STRACAT(temp_path, svc_dll_name, env);
     sprintf(message, "%s:%d - dll path is:", __FILE__, __LINE__);
     log_msg = AXIS2_STRACAT(message, dll_path, env);
-    AXIS2_LOG(env, log_msg, AXIS2_LOG_INFO);
+    AXIS2_LOG(env, log_msg, AXIS2_LOG_LEVEL_INFO);
     status = AXIS2_DLL_DESC_SET_NAME(dll_desc, env, dll_path);
     if(AXIS2_SUCCESS != status)
     {

Modified: webservices/axis2/trunk/c/modules/core/engine/addr_disp.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/addr_disp.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/addr_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/addr_disp.c Sun Jan 29 21:08:48 2006
@@ -100,7 +100,7 @@
             axis2_char_t **url_tokens = NULL;
             axis2_char_t message[1024];
             sprintf(message, "Checking for service using WSA enpoint address : %s", address);
-            AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+            AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
 
             if ( (AXIS2_STRCMP(AXIS2_WSA_ANONYMOUS_URL, address) == 0 ) || 
                   (AXIS2_STRCMP(AXIS2_WSA_NAMESPACE_SUBMISSION, address) == 0 ))
@@ -162,7 +162,7 @@
     {
         axis2_char_t message[1024];
         sprintf(message, "Checking for Operation using WSAAction : %s", action);
-        AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+        AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
         
         qname = axis2_qname_create(env, action, NULL, NULL);
         return AXIS2_SVC_GET_OP_WITH_QNAME(svc, env, qname);

Modified: webservices/axis2/trunk/c/modules/core/engine/disp_checker.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/disp_checker.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/disp_checker.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/disp_checker.c Sun Jan 29 21:08:48 2006
@@ -238,13 +238,13 @@
     svc = AXIS2_MSG_CTX_GET_SVC(msg_ctx, env);
     if (!svc)
     {
-        AXIS2_LOG(env, "Service Not found. Endpoint reference is ", AXIS2_LOG_INFO);
+        AXIS2_LOG(env, "Service Not found. Endpoint reference is ", AXIS2_LOG_LEVEL_INFO);
         if (endpoint_ref)
         {
-            AXIS2_LOG(env, AXIS2_ENDPOINT_REF_GET_ADDRESS(endpoint_ref, env), AXIS2_LOG_INFO);
+            AXIS2_LOG(env, AXIS2_ENDPOINT_REF_GET_ADDRESS(endpoint_ref, env), AXIS2_LOG_LEVEL_INFO);
         }
         else
-            AXIS2_LOG(env, "NULL ", AXIS2_LOG_INFO);
+            AXIS2_LOG(env, "NULL ", AXIS2_LOG_LEVEL_INFO);
 
         return AXIS2_FAILURE;
     }
@@ -252,16 +252,16 @@
     op = AXIS2_MSG_CTX_GET_OP(msg_ctx, env);
     if (!op)
     {
-        AXIS2_LOG(env, "Operation Not found. Endpoint reference is ", AXIS2_LOG_INFO);
+        AXIS2_LOG(env, "Operation Not found. Endpoint reference is ", AXIS2_LOG_LEVEL_INFO);
         if (endpoint_ref)
         {
-            AXIS2_LOG(env, AXIS2_ENDPOINT_REF_GET_ADDRESS(endpoint_ref, env), AXIS2_LOG_INFO);
+            AXIS2_LOG(env, AXIS2_ENDPOINT_REF_GET_ADDRESS(endpoint_ref, env), AXIS2_LOG_LEVEL_INFO);
         }
         else
-            AXIS2_LOG(env, "NULL ", AXIS2_LOG_INFO);
+            AXIS2_LOG(env, "NULL ", AXIS2_LOG_LEVEL_INFO);
 
-        AXIS2_LOG(env, " and WSA Action = ", AXIS2_LOG_INFO);
-        AXIS2_LOG(env, AXIS2_MSG_CTX_GET_WSA_ACTION(msg_ctx, env), AXIS2_LOG_INFO);
+        AXIS2_LOG(env, " and WSA Action = ", AXIS2_LOG_LEVEL_INFO);
+        AXIS2_LOG(env, AXIS2_MSG_CTX_GET_WSA_ACTION(msg_ctx, env), AXIS2_LOG_LEVEL_INFO);
         
         return AXIS2_FAILURE;
     }    

Modified: webservices/axis2/trunk/c/modules/core/engine/engine.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/engine.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/engine.c Sun Jan 29 21:08:48 2006
@@ -100,7 +100,7 @@
     engine_impl->engine.ops->get_receiver_fault_code = axis2_engine_get_receiver_fault_code;
     engine_impl->engine.ops->free = axis2_engine_free;
 
-    AXIS2_LOG(env, "Axis2 Engine Started", AXIS2_LOG_INFO);
+    AXIS2_LOG(env, "Axis2 Engine Started", AXIS2_LOG_LEVEL_INFO);
     
     return &(engine_impl->engine);
 }
@@ -223,7 +223,7 @@
         {
             axis2_char_t message[1024];
             sprintf(message, "%s:%d - Transport out is not set in message context", __FILE__,
__LINE__); 
-            AXIS2_LOG(env, message, AXIS2_LOG_DEBUG);
+            AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_DEBUG);
             return AXIS2_FAILURE;
         }
     }
@@ -320,7 +320,7 @@
         {
             axis2_char_t message[1024];
             sprintf(message, "%s:%d - Message receiver not set in operation description",
__FILE__, __LINE__); 
-            AXIS2_LOG(env, message, AXIS2_LOG_DEBUG);
+            AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_DEBUG);
             return AXIS2_FAILURE;
         }
         AXIS2_MSG_RECV_RECEIVE(receiver, env, msg_ctx);        

Modified: webservices/axis2/trunk/c/modules/core/engine/phase.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/phase.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/phase.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/phase.c Sun Jan 29 21:08:48 2006
@@ -168,7 +168,7 @@
                      index, 
                      phase_impl->name);
     
-    AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+    AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
     
     return AXIS2_ARRAY_LIST_ADD_AT(phase_impl->handlers, env, index, handler);
 }
@@ -188,7 +188,7 @@
                      AXIS2_QNAME_GET_LOCALPART(AXIS2_HANDLER_GET_NAME(handler, env), env),

                      phase_impl->name);
     
-    AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+    AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
     
     return AXIS2_ARRAY_LIST_ADD(phase_impl->handlers, env, handler);
 }
@@ -220,7 +220,7 @@
             sprintf(message, "Invoke the first handler %s within the phase %s",
                      AXIS2_QNAME_GET_LOCALPART(AXIS2_HANDLER_GET_NAME(phase_impl->first_handler,
env), env), 
                      phase_impl->name);
-            AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+            AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
             status = AXIS2_HANDLER_INVOKE(phase_impl->first_handler, env, msg_ctx);
             if (status != AXIS2_SUCCESS)
                 return status;
@@ -243,7 +243,7 @@
                 sprintf(message, "Invoke the handler %s within the phase %s",
                          AXIS2_QNAME_GET_LOCALPART(AXIS2_HANDLER_GET_NAME(handler, env),
env), 
                          phase_impl->name);
-                AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+                AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
                 status = AXIS2_HANDLER_INVOKE(handler, env, msg_ctx);
                 if (status != AXIS2_SUCCESS)
                     return status;                
@@ -266,7 +266,7 @@
             sprintf(message, "Invoke the last handler %s within the phase %s",
                      AXIS2_QNAME_GET_LOCALPART(AXIS2_HANDLER_GET_NAME(phase_impl->last_handler,
env), env), 
                      phase_impl->name);
-            AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+            AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
             status = AXIS2_HANDLER_INVOKE(phase_impl->last_handler, env, msg_ctx);
             if (status != AXIS2_SUCCESS)
                 return status;

Modified: webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/req_uri_disp.c Sun Jan 29 21:08:48 2006
@@ -100,7 +100,7 @@
             axis2_char_t **url_tokens = NULL;
             axis2_char_t message[1024];
             sprintf(message, "Checking for service using target endpoint address : %s", address);
-            AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+            AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
             
             url_tokens = axis2_parse_request_url_for_svc_and_op(env, address);
             
@@ -167,7 +167,7 @@
                     axis2_op_t *op = NULL;
                     axis2_char_t message[1024];
                     sprintf(message, "Checking for operation using target endpoint uri fragment
: %s", url_tokens[1]);
-                    AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+                    AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
                     op_qname = axis2_qname_create(env, url_tokens[1], NULL, NULL);
                     op = AXIS2_SVC_GET_OP_WITH_NAME(svc, env, AXIS2_QNAME_GET_LOCALPART(op_qname,
env));
                     AXIS2_QNAME_FREE(op_qname, env);

Modified: webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/soap_action_disp.c Sun Jan 29 21:08:48 2006
@@ -86,7 +86,7 @@
 {    
     AXIS2_FUNC_PARAM_CHECK(msg_ctx, env, NULL);    
 
-    AXIS2_LOG(env, "Checking for Service using SOAPAction is a TODO item", AXIS2_LOG_INFO);
+    AXIS2_LOG(env, "Checking for Service using SOAPAction is a TODO item", AXIS2_LOG_LEVEL_INFO);
 
     return NULL;
 }
@@ -114,7 +114,7 @@
         axis2_op_t *op = NULL;        
         axis2_char_t message[1024];
         sprintf(message, "Checking for operation using SOAP action : %s", action);
-        AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+        AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
 
         op = AXIS2_SVC_GET_OP_BY_SOAP_ACTION(svc, env, action);
         if (!op)

Modified: webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c (original)
+++ webservices/axis2/trunk/c/modules/core/engine/soap_body_disp.c Sun Jan 29 21:08:48 2006
@@ -115,7 +115,7 @@
                                     axis2_char_t **url_tokens = NULL;
                                     axis2_char_t message[1024];
                                     sprintf(message, "Checking for service using SOAP message
body's first child's namespace URI : %s", uri);
-                                    AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+                                    AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
                                     
                                     url_tokens = axis2_parse_request_url_for_svc_and_op(env,
uri);
                                     
@@ -193,7 +193,7 @@
                                 axis2_op_t *op = NULL;
                                 axis2_char_t message[1024];
                                 sprintf(message, "Checking for operation using SOAP message
body's first child's local name : %s", element_name);
-                                AXIS2_LOG(env, message, AXIS2_LOG_INFO);
+                                AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_INFO);
                                 op_qname = axis2_qname_create(env, element_name, NULL, NULL);
                                 op = AXIS2_SVC_GET_OP_WITH_NAME(svc, env, AXIS2_QNAME_GET_LOCALPART(op_qname,
env));
                                 AXIS2_QNAME_FREE(op_qname, env);

Modified: webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c (original)
+++ webservices/axis2/trunk/c/modules/core/receivers/raw_xml_in_out_msg_recv.c Sun Jan 29
21:08:48 2006
@@ -98,7 +98,7 @@
     {
         axis2_char_t message[1024];
         sprintf(message, "%s:%d - Impl object for service not set in message receiver", __FILE__,
__LINE__);
-        AXIS2_LOG(env, message, AXIS2_LOG_DEBUG);
+        AXIS2_LOG(env, message, AXIS2_LOG_LEVEL_DEBUG);
         status = AXIS2_FAILURE;
     }
     else

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_server.c Sun Jan 29
21:08:48 2006
@@ -186,7 +186,7 @@
 		return AXIS2_FAILURE;
 	}
 	AXIS2_LOG_WRITE((*env)->log, "[Axis2]Starting HTTP server thread", 
-						AXIS2_LOG_INFO);
+						AXIS2_LOG_LEVEL_INFO);
 	AXIS2_HTTP_SVR_THREAD_SET_WORKER(server_impl->svr_thread, env, worker);
 	AXIS2_HTTP_SVR_THREAD_RUN(server_impl->svr_thread, env);
     return AXIS2_SUCCESS;
@@ -199,14 +199,14 @@
     AXIS2_FUNC_PARAM_CHECK(server, env, AXIS2_FAILURE);
 	
 	AXIS2_LOG_WRITE((*env)->log, "[Axis2]Terminating HTTP server thread", 
-						AXIS2_LOG_INFO);
+						AXIS2_LOG_LEVEL_INFO);
 	if(NULL != AXIS2_INTF_TO_IMPL(server)->svr_thread)
 	{
 		AXIS2_HTTP_SVR_THREAD_DESTROY(AXIS2_INTF_TO_IMPL(server)->svr_thread, 
 						env);
 	}
 	AXIS2_LOG_WRITE((*env)->log, "[Axis2]Successfully terminated  HTTP server\
-						thread", AXIS2_LOG_INFO);
+						thread", AXIS2_LOG_LEVEL_INFO);
 	return AXIS2_SUCCESS;
 }
 

Modified: webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/receiver/http_svr_thread.c Sun Jan
29 21:08:48 2006
@@ -186,7 +186,7 @@
 		secs += millisecs/1000.0;
 		sprintf(log_str, "[Axis2]Request served in %.3f seconds", secs);
 		AXIS2_LOG_WRITE((*env)->log, log_str, 
-						AXIS2_LOG_INFO);
+						AXIS2_LOG_LEVEL_INFO);
 	}
 	
     return AXIS2_SUCCESS;

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/http_transport_sender.c Sun
Jan 29 21:08:48 2006
@@ -224,7 +224,7 @@
 						AXIS2_FAILURE);
 			sprintf(error_msg, "%s in %s:%d", AXIS2_ERROR_GET_MESSAGE(
 						(*env)->error), __FILE__, __LINE__);
-			AXIS2_LOG(env, error_msg, AXIS2_LOG_CRITICAL);
+			AXIS2_LOG(env, error_msg, AXIS2_LOG_LEVEL_CRITICAL);
 			AXIS2_OM_OUTPUT_FREE(om_output, env);
 			om_output = NULL;
 			xml_writer = NULL;

Modified: webservices/axis2/trunk/c/modules/core/transport/http/server/http_server_main.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/server/http_server_main.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/server/http_server_main.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/server/http_server_main.c Sun Jan
29 21:08:48 2006
@@ -80,23 +80,23 @@
 	}
 	
     env = init_syetem_env(allocator);
-    env->log->level = AXIS2_LOG_DEBUG;
+    env->log->level = AXIS2_LOG_LEVEL_DEBUG;
 	
     axis2_error_init();
     
 	printf("[Axis2]Starting Axis2 HTTP server....\n");
 	AXIS2_LOG_WRITE(env->log, "[Axis2]Starting Axis2 HTTP server....\n", 
-						AXIS2_LOG_INFO);
+						AXIS2_LOG_LEVEL_INFO);
 	sprintf(tmp_str, "[Axis2]Server port : %d", port);
 	printf("%s\n",tmp_str);
-	AXIS2_LOG_WRITE(env->log, tmp_str, AXIS2_LOG_INFO);
+	AXIS2_LOG_WRITE(env->log, tmp_str, AXIS2_LOG_LEVEL_INFO);
 	sprintf(tmp_str, "[Axis2]Repo location : %s", repo);
 	printf("%s\n",tmp_str);
-	AXIS2_LOG_WRITE(env->log, tmp_str, AXIS2_LOG_INFO);
+	AXIS2_LOG_WRITE(env->log, tmp_str, AXIS2_LOG_LEVEL_INFO);
 	sprintf(tmp_str, "[Axis2]Read Timeout : %d ms", 
 						axis2_http_socket_read_timeout);
 	printf("%s\n",tmp_str);
-	AXIS2_LOG_WRITE(env->log, tmp_str, AXIS2_LOG_INFO);
+	AXIS2_LOG_WRITE(env->log, tmp_str, AXIS2_LOG_LEVEL_INFO);
 	
 	server = axis2_http_server_create(&env, repo, port);
 	if(NULL == server)
@@ -105,7 +105,7 @@
 						env->error->error_number);
 		printf("%s\n",tmp_str);
         printf("%s \n", AXIS2_ERROR_GET_MESSAGE(env->error));
-		AXIS2_LOG_WRITE(env->log, tmp_str, AXIS2_LOG_INFO);
+		AXIS2_LOG_WRITE(env->log, tmp_str, AXIS2_LOG_LEVEL_INFO);
 		system_exit(allocator, env, -1);
 		
 	}

Modified: webservices/axis2/trunk/c/modules/util/log.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/log.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/log.c (original)
+++ webservices/axis2/trunk/c/modules/util/log.c Sun Jan 29 21:08:48 2006
@@ -75,19 +75,19 @@
         char *level_str = "";
         switch (level)
         {
-            case AXIS2_LOG_CRITICAL:
+            case AXIS2_LOG_LEVEL_CRITICAL:
                 level_str = "[critical] ";
                 break;
-            case AXIS2_LOG_ERROR:
+            case AXIS2_LOG_LEVEL_ERROR:
                 level_str = "[error] ";
                 break;
-            case AXIS2_LOG_WARNING:
+            case AXIS2_LOG_LEVEL_WARNING:
                 level_str = "[warning] ";
                 break;
-            case AXIS2_LOG_INFO:
+            case AXIS2_LOG_LEVEL_INFO:
                 level_str = "[info] ";
                 break;
-            case AXIS2_LOG_DEBUG:
+            case AXIS2_LOG_LEVEL_DEBUG:
                 level_str = "[debug] ";
                 break;
         }

Modified: webservices/axis2/trunk/c/modules/util/network_handler.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/network_handler.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/network_handler.c (original)
+++ webservices/axis2/trunk/c/modules/util/network_handler.c Sun Jan 29 21:08:48 2006
@@ -163,6 +163,6 @@
 	cli_socket = accept(svr_socket, (struct sockaddr *)&cli_addr, &cli_len);
     if (cli_socket < 0)
     	AXIS2_LOG_WRITE((*env)->log, "[Axis2][network_handler] Socket accept \
-						failed", AXIS2_LOG_ERROR);
+						failed", AXIS2_LOG_LEVEL_ERROR);
     return cli_socket;
 }

Modified: webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c (original)
+++ webservices/axis2/trunk/c/modules/xml/om/om_stax_builder.c Sun Jan 29 21:08:48 2006
@@ -261,7 +261,7 @@
                          AXIS2_ERROR_INVALID_BUILDER_STATE_LAST_NODE_NULL,AXIS2_FAILURE);
         AXIS2_LOG_WRITE((*env)->log, 
             "AXIS2_ERROR_INVALID_BUILDER_STATE_LAST_NODE_NULL creating a text node without
a parent", 
-            AXIS2_LOG_DEBUG);
+            AXIS2_LOG_LEVEL_DEBUG);
         return NULL;
     }
     temp_value = AXIS2_XML_READER_GET_VALUE (builder->parser, env);
@@ -269,7 +269,7 @@
     if (!temp_value)
     {
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_XML_READER_VALUE_NULL, AXIS2_FAILURE);
-        AXIS2_LOG_WRITE((*env)->log,"XML_READER RETURNED NULL VALUE CREATING OM TEXT",
 AXIS2_LOG_DEBUG);
+        AXIS2_LOG_WRITE((*env)->log,"XML_READER RETURNED NULL VALUE CREATING OM TEXT",
 AXIS2_LOG_LEVEL_DEBUG);
         return NULL;
     }
   
@@ -436,7 +436,7 @@
             AXIS2_ERROR_SET((*env)->error,
             AXIS2_ERROR_INVALID_DOCUMENT_STATE_UNDEFINED_NAMESPACE, AXIS2_FAILURE);
             AXIS2_LOG_WRITE((*env)->log, 
-                "AXIS2_ERROR_INVALID_DOCUMENT_STATE_UNDEFINED_NAMESPACE", AXIS2_LOG_DEBUG);
+                "AXIS2_ERROR_INVALID_DOCUMENT_STATE_UNDEFINED_NAMESPACE", AXIS2_LOG_LEVEL_DEBUG);
             
              return AXIS2_FAILURE;
         }
@@ -460,7 +460,7 @@
     if (!temp_localname)
     {
         AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_XML_READER_ELEMENT_NULL localname null",
-            AXIS2_LOG_DEBUG);
+            AXIS2_LOG_LEVEL_DEBUG);
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_XML_READER_ELEMENT_NULL, AXIS2_FAILURE);

         return NULL;
     }
@@ -701,7 +701,7 @@
         {
             AXIS2_LOG_WRITE((*env)->log,
                 "AXIS2_ERROR_BUILDER_DONE_CANNOT_PULL either the xml is over or a critical
error occured",
-                AXIS2_LOG_DEBUG);
+                AXIS2_LOG_LEVEL_DEBUG);
             
             AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_BUILDER_DONE_CANNOT_PULL, AXIS2_FAILURE);
             return NULL;
@@ -899,7 +899,7 @@
     {
         AXIS2_LOG_WRITE((*env)->log,
                 "AXIS2_ERROR_BUILDER_DONE_CANNOT_PULL either the xml is over or a critical
error occured",
-                AXIS2_LOG_DEBUG);
+                AXIS2_LOG_LEVEL_DEBUG);
         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_BUILDER_DONE_CANNOT_PULL, AXIS2_FAILURE);
         return -1;
     }
@@ -908,7 +908,7 @@
     {
         AXIS2_LOG_WRITE((*env)->log,
                 "AXIS2_XML_READER_RETURNED AN ERROR either the xml is over or a critical
error occured",
-                AXIS2_LOG_CRITICAL);
+                AXIS2_LOG_LEVEL_CRITICAL);
         builder_impl->done = AXIS2_TRUE;
         return -1;
     }
@@ -922,7 +922,7 @@
     {
         case AXIS2_XML_READER_START_DOCUMENT:
             AXIS2_LOG_WRITE((*env)->log, " start of xml document START_DOCUMENT_EVENT",
-                AXIS2_LOG_DEBUG);
+                AXIS2_LOG_LEVEL_DEBUG);
         /*Do nothing */
         break;
         
@@ -930,31 +930,31 @@
             axis2_om_stax_builder_create_om_element (
                         builder, env); 
           AXIS2_LOG_WRITE((*env)->log, "AXIS2_XML_READER_START_ELEMENT",
-                AXIS2_LOG_DEBUG);
+                AXIS2_LOG_LEVEL_DEBUG);
             break;
         
         case AXIS2_XML_READER_EMPTY_ELEMENT:
              axis2_om_stax_builder_create_om_element (
                         builder, env);
          AXIS2_LOG_WRITE((*env)->log, "AXIS2_XML_READER_EMPTY_ELEMENT",
-                AXIS2_LOG_DEBUG);
+                AXIS2_LOG_LEVEL_DEBUG);
         case AXIS2_XML_READER_END_ELEMENT:
             axis2_om_stax_builder_end_element (builder, env);
          AXIS2_LOG_WRITE((*env)->log, "AXIS2_XML_READER_END_ELEMENT",
-                AXIS2_LOG_DEBUG);
+                AXIS2_LOG_LEVEL_DEBUG);
             break;
         
         
         case AXIS2_XML_READER_SPACE:
          AXIS2_LOG_WRITE((*env)->log, "AXIS2_XML_READER_SPACE",
-                AXIS2_LOG_DEBUG);
+                AXIS2_LOG_LEVEL_DEBUG);
             /* Do nothing */
             break;
         
         case AXIS2_XML_READER_CHARACTER:
             axis2_om_stax_builder_create_om_text(builder, env);
          AXIS2_LOG_WRITE((*env)->log, "AXIS2_XML_READER_CHARACTER",
-                AXIS2_LOG_DEBUG);
+                AXIS2_LOG_LEVEL_DEBUG);
             break;
                 
         case AXIS2_XML_READER_ENTITY_REFERANCE:
@@ -964,7 +964,7 @@
             axis2_om_stax_builder_create_om_comment(builder, env);
             axis2_om_stax_builder_end_element (builder, env);
             AXIS2_LOG_WRITE((*env)->log, "AXIS2_XML_READER_COMMENT",
-                AXIS2_LOG_DEBUG);
+                AXIS2_LOG_LEVEL_DEBUG);
             break;
         
         case AXIS2_XML_READER_PROCESSING_INSTRUCTION:
@@ -972,7 +972,7 @@
                                         builder , env );
             axis2_om_stax_builder_end_element (builder, env);
             AXIS2_LOG_WRITE((*env)->log, "AXIS2_XML_READER_PROCESSING_INSTRUCTION",
-                AXIS2_LOG_DEBUG);
+                AXIS2_LOG_LEVEL_DEBUG);
             break;
         
         case AXIS2_XML_READER_CDATA:

Modified: webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_reader_wrapper.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_reader_wrapper.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_reader_wrapper.c (original)
+++ webservices/axis2/trunk/c/modules/xml/parser/libxml2/libxml2_reader_wrapper.c Sun Jan
29 21:08:48 2006
@@ -426,11 +426,11 @@
     ret_val = xmlTextReaderRead(parser_impl->reader);
     if(ret_val == 0)
     {
-        AXIS2_LOG_WRITE((*env)->log,"xml stream is over ", AXIS2_LOG_INFO);
+        AXIS2_LOG_WRITE((*env)->log,"xml stream is over ", AXIS2_LOG_LEVEL_INFO);
     }
     if(ret_val == -1)
     {
-        AXIS2_LOG_WRITE((*env)->log,"critical error occured in xml reader", AXIS2_LOG_CRITICAL);
+        AXIS2_LOG_WRITE((*env)->log,"critical error occured in xml reader", AXIS2_LOG_LEVEL_CRITICAL);
         return -1;
     }
    
@@ -816,25 +816,25 @@
         case XML_PARSER_SEVERITY_VALIDITY_WARNING :
         {
             sprintf(error_msg, "%s -- VALIDITY WARNTING", msg);            
-            AXIS2_LOG_WRITE(env->log, error_msg, AXIS2_LOG_DEBUG);
+            AXIS2_LOG_WRITE(env->log, error_msg, AXIS2_LOG_LEVEL_DEBUG);
         }
             break;
         case XML_PARSER_SEVERITY_VALIDITY_ERROR:
         {
             sprintf(error_msg, "%s -- VALIDITY ERROR", msg);            
-            AXIS2_LOG_WRITE(env->log, error_msg, AXIS2_LOG_DEBUG);
+            AXIS2_LOG_WRITE(env->log, error_msg, AXIS2_LOG_LEVEL_DEBUG);
         }
             break;
         case XML_PARSER_SEVERITY_WARNING:
         {
             sprintf(error_msg, "%s -- SEVERITY_WARNING", msg);            
-            AXIS2_LOG_WRITE(env->log, error_msg, AXIS2_LOG_DEBUG);
+            AXIS2_LOG_WRITE(env->log, error_msg, AXIS2_LOG_LEVEL_DEBUG);
         }
             break;
         case XML_PARSER_SEVERITY_ERROR:
         {
             sprintf(error_msg, "%s -- SEVERITY_ERROR", msg);            
-            AXIS2_LOG_WRITE(env->log, error_msg, AXIS2_LOG_CRITICAL);
+            AXIS2_LOG_WRITE(env->log, error_msg, AXIS2_LOG_LEVEL_CRITICAL);
         }
             break;
         default:

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap12_builder_helper.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap12_builder_helper.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap12_builder_helper.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap12_builder_helper.c Sun Jan 29 21:08:48
2006
@@ -188,7 +188,7 @@
             if(builder_helper_impl->code_present)
             {
                 AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_MULTIPLE_CODE_ELEMENTS_ENCOUNTERED,
AXIS2_FAILURE);
-                AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_CODE_ELEMENTS_ENCOUNTERED",
AXIS2_LOG_DEBUG);
+                AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_CODE_ELEMENTS_ENCOUNTERED",
AXIS2_LOG_LEVEL_DEBUG);
                 
                 return AXIS2_FAILURE;
             }else
@@ -216,7 +216,7 @@
                         AXIS2_ERROR_SET((*env)->error, 
                             AXIS2_ERROR_MULTIPLE_REASON_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
                             
-                       AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_REASON_ELEMENTS_ENCOUNTERED",AXIS2_LOG_DEBUG);
+                       AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_REASON_ELEMENTS_ENCOUNTERED",AXIS2_LOG_LEVEL_DEBUG);
                         return AXIS2_FAILURE;
                     }
                     else
@@ -237,7 +237,7 @@
                 {
                     AXIS2_ERROR_SET((*env)->error, 
                         AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED, AXIS2_FAILURE);
-                        AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED",AXIS2_LOG_DEBUG);
+                        AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED",AXIS2_LOG_LEVEL_DEBUG);
                     return AXIS2_FAILURE;                        
                 }
             }
@@ -247,14 +247,14 @@
                 {
                     AXIS2_ERROR_SET((*env)->error, 
                         AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE, AXIS2_FAILURE);
-                    AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE",AXIS2_LOG_DEBUG);
+                    AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE",AXIS2_LOG_LEVEL_DEBUG);
                     return AXIS2_FAILURE;                            
                 }
                 else
                 {
                     AXIS2_ERROR_SET((*env)->error, 
                         AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE, AXIS2_FAILURE);
-                     AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE",
AXIS2_LOG_DEBUG);
+                     AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_SOAP_FAULT_CODE_DOES_NOT_HAVE_A_VALUE",
AXIS2_LOG_LEVEL_DEBUG);
                     return AXIS2_FAILURE;                
                 }
             }
@@ -271,7 +271,7 @@
                     {
                         AXIS2_ERROR_SET((*env)->error, 
                             AXIS2_ERROR_MULTIPLE_NODE_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
-                        AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_NODE_ELEMENTS_ENCOUNTERED",AXIS2_LOG_CRITICAL);
+                        AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_NODE_ELEMENTS_ENCOUNTERED",AXIS2_LOG_LEVEL_CRITICAL);
                         return AXIS2_FAILURE;
                     }
                     else
@@ -289,7 +289,7 @@
                     AXIS2_ERROR_SET((*env)->error, 
                         AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED, AXIS2_FALSE);
                     
-                    AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED",AXIS2_LOG_CRITICAL);
+                    AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED",AXIS2_LOG_LEVEL_CRITICAL);
 
                     return AXIS2_FAILURE;                
                 }
@@ -312,7 +312,7 @@
                     {
                         AXIS2_ERROR_SET((*env)->error, 
                             AXIS2_ERROR_MULTIPLE_ROLE_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
-                        AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_MULTIPLE_ROLE_ELEMENTS_ENCOUNTERED",
AXIS2_LOG_DEBUG);                                                    
+                        AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_MULTIPLE_ROLE_ELEMENTS_ENCOUNTERED",
AXIS2_LOG_LEVEL_DEBUG);                                                    
                         return AXIS2_FAILURE;
                     }
                     else
@@ -330,7 +330,7 @@
                     AXIS2_ERROR_SET((*env)->error, 
                         AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED, AXIS2_FAILURE);
                     AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED",
-                            AXIS2_LOG_DEBUG);
+                            AXIS2_LOG_LEVEL_DEBUG);
                     return AXIS2_FAILURE;                        
                 }
             }
@@ -338,7 +338,7 @@
             {
                 
                 AXIS2_ERROR_SET((*env)->error,  AXIS2_ERROR_SOAP_FAULT_ROLE_ELEMENT_SHOULD_HAVE_A_TEXT,
AXIS2_FAILURE);
-                AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_SOAP_FAULT_ROLE_ELEMENT_SHOULD_HAVE_A_TEXT",
AXIS2_LOG_DEBUG);
+                AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_SOAP_FAULT_ROLE_ELEMENT_SHOULD_HAVE_A_TEXT",
AXIS2_LOG_LEVEL_DEBUG);
                 return AXIS2_FAILURE;
             }
         }
@@ -353,7 +353,7 @@
                         AXIS2_ERROR_SET((*env)->error, 
                             AXIS2_ERROR_MULTIPLE_DETAIL_ELEMENTS_ENCOUNTERED, AXIS2_FAILURE);
                         AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_DETAIL_ELEMENTS_ENCOUNTERED",
-                            AXIS2_LOG_DEBUG);
+                            AXIS2_LOG_LEVEL_DEBUG);
                         return AXIS2_FAILURE;                                           

                     }
                     else
@@ -371,7 +371,7 @@
                 {
                     AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED,
AXIS2_FAILURE);
                     AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_WRONG_ELEMENT_ORDER_ENCOUNTERED",
-                        AXIS2_LOG_DEBUG);
+                        AXIS2_LOG_LEVEL_DEBUG);
                     
                     return AXIS2_FAILURE;
                     
@@ -382,7 +382,7 @@
                 AXIS2_ERROR_SET((*env)->error, 
                     AXIS2_ERROR_SOAP_FAULT_REASON_ELEMENT_SHOULD_HAVE_A_TEXT, AXIS2_FAILURE);
                 AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_SOAP_FAULT_REASON_ELEMENT_SHOULD_HAVE_A_TEXT",
-                    AXIS2_LOG_DEBUG);
+                    AXIS2_LOG_LEVEL_DEBUG);
                 return AXIS2_FAILURE;                    
             }
             
@@ -392,7 +392,7 @@
             AXIS2_ERROR_SET((*env)->error, 
                 AXIS2_ERROR_UNSUPPORTED_ELEMENT_IN_SOAP_FAULT_ELEMENT, AXIS2_FAILURE);
             AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_UNSUPPORTED_ELEMENT_IN_SOAP_FAULT_ELEMENT",
-                AXIS2_LOG_DEBUG);
+                AXIS2_LOG_LEVEL_DEBUG);
                 return AXIS2_FAILURE;
         }
     }
@@ -428,7 +428,7 @@
                     AXIS2_ERROR_SET((*env)->error, 
                         AXIS2_ERROR_MULTIPLE_VALUE_ENCOUNTERED_IN_CODE_ELEMENT, AXIS2_FAILURE);
                     AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_VALUE_ENCOUNTERED_IN_CODE_ELEMENT",
-                        AXIS2_LOG_DEBUG);
+                        AXIS2_LOG_LEVEL_DEBUG);
                     return AXIS2_FAILURE;                        
                 }            
             }
@@ -459,7 +459,7 @@
                         AXIS2_ERROR_SET((*env)->error,
                             AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE,
AXIS2_FAILURE);
                         AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE",
-                            AXIS2_LOG_DEBUG);
+                            AXIS2_LOG_LEVEL_DEBUG);
                         return AXIS2_FAILURE;                                           
                
                     }
                 }
@@ -467,7 +467,7 @@
                 {
                     AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED,
AXIS2_FAILURE);
                     AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED",
-                        AXIS2_LOG_DEBUG);
+                        AXIS2_LOG_LEVEL_DEBUG);
                     return AXIS2_FAILURE;                    
                 }            
             }
@@ -476,7 +476,7 @@
                 AXIS2_ERROR_SET((*env)->error, 
                     AXIS2_ERROR_THIS_LOCALNAME_NOT_SUPPORTED_INSIDE_THE_CODE_ELEMENT, AXIS2_FAILURE);
                 AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_THIS_LOCALNAME_NOT_SUPPORTED_INSIDE_THE_CODE_ELEMENT",
-                    AXIS2_LOG_DEBUG);
+                    AXIS2_LOG_LEVEL_DEBUG);
                 return AXIS2_FAILURE;                    
             }
         }
@@ -502,7 +502,7 @@
             {
                 AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_REASON_ELEMENT,
AXIS2_FAILURE);   
                 AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_REASON_ELEMENT",
-                    AXIS2_LOG_DEBUG);
+                    AXIS2_LOG_LEVEL_DEBUG);
                 return AXIS2_FAILURE;
             }
             
@@ -521,7 +521,7 @@
         {
             axis2_char_t error_msg[200];
             sprintf(error_msg,"%s should not nave a child element",parent_localname);
-            AXIS2_LOG_WRITE((*env)->log, error_msg, AXIS2_LOG_DEBUG);
+            AXIS2_LOG_WRITE((*env)->log, error_msg, AXIS2_LOG_LEVEL_DEBUG);
             return AXIS2_FAILURE;
         }
                 
@@ -584,7 +584,7 @@
                     {
                         AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED,
AXIS2_FAILURE);
                         AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_MULTIPLE_SUB_CODE_VALUES_ENCOUNTERED",
-                            AXIS2_LOG_DEBUG);
+                            AXIS2_LOG_LEVEL_DEBUG);
                         return AXIS2_FAILURE;                                           
            
                     }
                 }
@@ -592,7 +592,7 @@
                 {
                     AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE,
AXIS2_FAILURE);
                     AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_SOAP_FAULT_VALUE_SHOULD_BE_PRESENT_BEFORE_SUB_CODE",
-                        AXIS2_LOG_DEBUG);
+                        AXIS2_LOG_LEVEL_DEBUG);
                     return AXIS2_FAILURE;
                 
                 }
@@ -601,7 +601,7 @@
             {
                 AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_SUB_CODE_ELEMENT,
AXIS2_FAILURE);
                 AXIS2_LOG_WRITE((*env)->log, "AXIS2_ERROR_THIS_LOCALNAME_IS_NOT_SUPPORTED_INSIDE_THE_SUB_CODE_ELEMENT",
-                    AXIS2_LOG_DEBUG);
+                    AXIS2_LOG_LEVEL_DEBUG);
                 return AXIS2_FAILURE;
             } 
         }
@@ -628,7 +628,7 @@
             {
                 axis2_char_t error_msg[200];
                 sprintf(error_msg,"%s should not have child at element level  %d",parent_localname,
element_level);
-                AXIS2_LOG_WRITE((*env)->log,error_msg, AXIS2_LOG_DEBUG);
+                AXIS2_LOG_WRITE((*env)->log,error_msg, AXIS2_LOG_LEVEL_DEBUG);
                 return AXIS2_FAILURE;
             }
         }

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_body.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_body.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_body.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_body.c Sun Jan 29 21:08:48 2006
@@ -448,7 +448,7 @@
         AXIS2_ERROR_SET((*env)->error, 
             AXIS2_ERROR_ONLY_ONE_SOAP_FAULT_ALLOWED_IN_BODY, AXIS2_FAILURE);
         AXIS2_LOG_WRITE((*env)->log, 
-            "AXIS2_ERROR_ONLY_ONE_SOAP_FAULT_ALLOWED_IN_BODY", AXIS2_LOG_DEBUG);
+            "AXIS2_ERROR_ONLY_ONE_SOAP_FAULT_ALLOWED_IN_BODY", AXIS2_LOG_LEVEL_DEBUG);
         return AXIS2_FAILURE;
     }
     body_impl->soap_fault = soap_fault;

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_builder.c Sun Jan 29 21:08:48 2006
@@ -599,7 +599,7 @@
                 (AXIS2_STRCMP(ns_uri, AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI) != 0))
         {
             AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_INVALID_SOAP_NAMESPACE_URI, AXIS2_FAILURE);
               
-            AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_INVALID_SOAP_NAMESPACE_URI", AXIS2_LOG_DEBUG);
+            AXIS2_LOG_WRITE((*env)->log,"AXIS2_ERROR_INVALID_SOAP_NAMESPACE_URI", AXIS2_LOG_LEVEL_DEBUG);
             return AXIS2_FAILURE;
         }
     }    
@@ -627,7 +627,7 @@
         AXIS2_ERROR_SET((*env)->error, 
             AXIS2_ERROR_SOAP_MESSAGE_DOES_NOT_CONTAIN_AN_ENVELOPE, AXIS2_FAILURE);
         AXIS2_LOG_WRITE((*env)->log, " soap message does not have a soap envelope element
",
-            AXIS2_LOG_CRITICAL);        
+            AXIS2_LOG_LEVEL_CRITICAL);        
         return AXIS2_FAILURE;
     }
     envelope_node = AXIS2_SOAP_ENVELOPE_GET_BASE_NODE(builder_impl->soap_envelope, env);
@@ -642,18 +642,18 @@
         {
             AXIS2_ERROR_SET((*env)->error, AXIS2_ERROR_TRANSPORT_LEVEL_INFORMATION_DOES_NOT_MATCH_WITH_SOAP,
AXIS2_FAILURE);
             AXIS2_LOG_WRITE((*env)->log , "AXIS2_ERROR_TRANSPORT_LEVEL_INFORMATION_DOES_NOT_MATCH_WITH_SOAP",
-                AXIS2_LOG_ERROR);            
+                AXIS2_LOG_LEVEL_ERROR);            
             return AXIS2_FAILURE;
         }            
         if(AXIS2_STRCMP(AXIS2_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI, ns_uri) == 0)
         {
             builder_impl->soap_version = AXIS2_SOAP11;        
-            AXIS2_LOG_WRITE((*env)->log,"Identified soap version is soap11", AXIS2_LOG_DEBUG);
+            AXIS2_LOG_WRITE((*env)->log,"Identified soap version is soap11", AXIS2_LOG_LEVEL_DEBUG);
         }
         else if(AXIS2_STRCMP(AXIS2_SOAP12_SOAP_ENVELOPE_NAMESPACE_URI, ns_uri) == 0)
         {
             builder_impl->soap_version = AXIS2_SOAP12;          
-            AXIS2_LOG_WRITE((*env)->log,"identified soap version is soap12", AXIS2_LOG_DEBUG);
+            AXIS2_LOG_WRITE((*env)->log,"identified soap version is soap12", AXIS2_LOG_LEVEL_DEBUG);
             
         }
         AXIS2_SOAP_ENVELOPE_SET_SOAP_VERSION(builder_impl->soap_envelope, env, builder_impl->soap_version);
       

Modified: webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c?rev=373440&r1=373439&r2=373440&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c (original)
+++ webservices/axis2/trunk/c/modules/xml/soap/soap_envelope.c Sun Jan 29 21:08:48 2006
@@ -514,7 +514,7 @@
     }
     else
     {
-        AXIS2_LOG_WRITE((*env)->log, " trying to set a soap bedy to envelope when a soap
body alrady exists ", AXIS2_LOG_DEBUG);
+        AXIS2_LOG_WRITE((*env)->log, " trying to set a soap bedy to envelope when a soap
body alrady exists ", AXIS2_LOG_LEVEL_DEBUG);
         return AXIS2_FAILURE;
     }
     return AXIS2_SUCCESS;
@@ -533,7 +533,7 @@
     }
     else
     {
-       AXIS2_LOG_WRITE((*env)->log, " trying to set a soap header to envelope when a soap
header alrady exists ", AXIS2_LOG_DEBUG);
+       AXIS2_LOG_WRITE((*env)->log, " trying to set a soap header to envelope when a soap
header alrady exists ", AXIS2_LOG_LEVEL_DEBUG);
         return AXIS2_FAILURE;
     }
     return AXIS2_SUCCESS;



Mime
View raw message