axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dami...@apache.org
Subject svn commit: r591277 - in /webservices/axis2/trunk/c: src/core/transport/http/server/simple_axis2_server/http_server_main.c util/include/axutil_log.h
Date Fri, 02 Nov 2007 09:10:00 GMT
Author: damitha
Date: Fri Nov  2 02:09:59 2007
New Revision: 591277

URL: http://svn.apache.org/viewvc?rev=591277&view=rev
Log:
interchanged log level service and log level trace.
Now 5 is for log level service
    6 is for log level trace

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/server/simple_axis2_server/http_server_main.c
    webservices/axis2/trunk/c/util/include/axutil_log.h

Modified: webservices/axis2/trunk/c/src/core/transport/http/server/simple_axis2_server/http_server_main.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/server/simple_axis2_server/http_server_main.c?rev=591277&r1=591276&r2=591277&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/server/simple_axis2_server/http_server_main.c
(original)
+++ webservices/axis2/trunk/c/src/core/transport/http/server/simple_axis2_server/http_server_main.c
Fri Nov  2 02:09:59 2007
@@ -128,7 +128,7 @@
             log_level = AXIS2_ATOI(optarg);
             if (log_level < AXIS2_LOG_LEVEL_CRITICAL)
                 log_level = AXIS2_LOG_LEVEL_CRITICAL;
-            if (log_level > AXIS2_LOG_LEVEL_SERVICE)
+            if (log_level > AXIS2_LOG_LEVEL_TRACE)
                 log_level = AXIS2_LOG_LEVEL_TRACE;
             break;
         case 's':
@@ -220,7 +220,7 @@
     fprintf(stdout,
             "\t-l LOG_LEVEL\t log level, available log levels:"
             "\n\t\t\t 0 - critical    1 - errors 2 - warnings"
-            "\n\t\t\t 3 - information 4 - debug  5- trace 6- service"
+            "\n\t\t\t 3 - information 4 - debug  5- service 6- trace"
             "\n\t\t\t Default log level is 4(debug).\n");
     fprintf(stdout,
             "\t-f LOG_FILE\t log file, default is $AXIS2C_HOME/logs/axis2.log"

Modified: webservices/axis2/trunk/c/util/include/axutil_log.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/util/include/axutil_log.h?rev=591277&r1=591276&r2=591277&view=diff
==============================================================================
--- webservices/axis2/trunk/c/util/include/axutil_log.h (original)
+++ webservices/axis2/trunk/c/util/include/axutil_log.h Fri Nov  2 02:09:59 2007
@@ -71,12 +71,13 @@
 
         /** Debug level, logs everything */
         AXIS2_LOG_LEVEL_DEBUG,
+        
+        /** Service level, logs only service level debug messages */
+        AXIS2_LOG_LEVEL_SERVICE,
 
         /** Trace level, Enable with compiler time option AXIS2_TRACE */
-        AXIS2_LOG_LEVEL_TRACE,
+        AXIS2_LOG_LEVEL_TRACE
         
-        /** Service level, logs only service level debug messages */
-        AXIS2_LOG_LEVEL_SERVICE
     } axutil_log_levels_t;
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message