axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amant...@apache.org
Subject svn commit: r1504567 - in /axis/axis2/c/core/trunk: src/core/transport/http/server/simple_axis2_server/http_server_main.c tools/tcpmon/src/tcpmon.c
Date Thu, 18 Jul 2013 17:45:05 GMT
Author: amantaut
Date: Thu Jul 18 17:45:05 2013
New Revision: 1504567

URL: http://svn.apache.org/r1504567
Log:
Replaced logs for sprintf, when log unavailable, fixes AXIS2C-1629

Modified:
    axis/axis2/c/core/trunk/src/core/transport/http/server/simple_axis2_server/http_server_main.c
    axis/axis2/c/core/trunk/tools/tcpmon/src/tcpmon.c

Modified: axis/axis2/c/core/trunk/src/core/transport/http/server/simple_axis2_server/http_server_main.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/server/simple_axis2_server/http_server_main.c?rev=1504567&r1=1504566&r2=1504567&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/server/simple_axis2_server/http_server_main.c
(original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/server/simple_axis2_server/http_server_main.c
Thu Jul 18 17:45:05 2013
@@ -272,12 +272,8 @@ sig_handler(
 
     if(!system_env)
     {
-        AXIS2_LOG_ERROR(
-            system_env->log,
-            AXIS2_LOG_SI,
-            "Received signal %d, unable to proceed system_env is NULL ,\
-                         system exit with -1",
-            signal);
+        fprintf(stderr,"Received signal %d, unable to proceed system_env is NULL ,\
+                         system exit with -1",signal);
         _exit(-1);
     }
 

Modified: axis/axis2/c/core/trunk/tools/tcpmon/src/tcpmon.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/tools/tcpmon/src/tcpmon.c?rev=1504567&r1=1504566&r2=1504567&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/tools/tcpmon/src/tcpmon.c (original)
+++ axis/axis2/c/core/trunk/tools/tcpmon/src/tcpmon.c Thu Jul 18 17:45:05 2013
@@ -997,8 +997,7 @@ sig_handler(
 
     if (!system_env)
     {
-        AXIS2_LOG_ERROR(system_env->log, AXIS2_LOG_SI,
-                        "Received signal %d, unable to proceed system_env is NULL,\
+        fprintf(stderr,"Received signal %d, unable to proceed system_env is NULL,\
                          system exit with -1", signal);
         _exit (-1);
     }



Mime
View raw message