You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2006/02/01 06:25:06 UTC
svn commit: r373994 - in /webservices/axis2/trunk/c/test/util: test_log.c
test_util.c
Author: samisa
Date: Tue Jan 31 21:25:00 2006
New Revision: 373994
URL: http://svn.apache.org/viewcvs?rev=373994&view=rev
Log:
Fixed LOG_SI prefix
Modified:
webservices/axis2/trunk/c/test/util/test_log.c
webservices/axis2/trunk/c/test/util/test_util.c
Modified: webservices/axis2/trunk/c/test/util/test_log.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/util/test_log.c?rev=373994&r1=373993&r2=373994&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/util/test_log.c (original)
+++ webservices/axis2/trunk/c/test/util/test_log.c Tue Jan 31 21:25:00 2006
@@ -51,7 +51,7 @@
{
printf("\n####start of test_axis2_log_degug\n\n");
env->log->level = AXIS2_LOG_LEVEL_DEBUG;
- AXIS2_LOG_DEBUG(env->log,LOG_SI,"log_debug test %s %d","foo",1);
+ AXIS2_LOG_DEBUG(env->log,AXIS2_LOG_SI,"log_debug test %s %d","foo",1);
printf("\n####end of test_axis2_log_debug\n\n");
}
@@ -59,7 +59,7 @@
{
printf("\n####start of test_axis2_log_degug_off\n\n");
env->log->level = AXIS2_LOG_LEVEL_ERROR;/*log only ERROR's and CRITICAL's*/
- AXIS2_LOG_DEBUG(env->log,LOG_SI,"this should not be logged log_debug test %s %d","foo",1);
+ AXIS2_LOG_DEBUG(env->log,AXIS2_LOG_SI,"this should not be logged log_debug test %s %d","foo",1);
printf("\n####end of test_axis2_log_debug_off\n\n");
}
@@ -85,7 +85,7 @@
{
printf("\n####start of test_axis2_log_warning\n\n");
env->log->level = AXIS2_LOG_LEVEL_DEBUG;
- AXIS2_LOG_WARNING(env->log,LOG_SI,"log_warning test %s %d","foo",1);
+ AXIS2_LOG_WARNING(env->log,AXIS2_LOG_SI,"log_warning test %s %d","foo",1);
printf("\n####end of test_axis2_log_warning\n\n");
}
@@ -94,7 +94,7 @@
{
printf("\n####start of test_axis2_log_warning_off\n\n");
env->log->level = AXIS2_LOG_LEVEL_ERROR;/*log only ERROR's and CRITICAL's*/
- AXIS2_LOG_WARNING(env->log,LOG_SI,"this should not be logged log_warning test %s %d","foo",1);
+ AXIS2_LOG_WARNING(env->log,AXIS2_LOG_SI,"this should not be logged log_warning test %s %d","foo",1);
printf("\n####end of test_axis2_log_warning_off\n\n");
}
@@ -102,7 +102,7 @@
void test_axis2_log_error(axis2_env_t *env)
{
printf("\n####start of test_axis2_log_error\n\n");
- AXIS2_LOG_ERROR(env->log,LOG_SI,"log_error test %s %d","foo",1);
+ AXIS2_LOG_ERROR(env->log,AXIS2_LOG_SI,"log_error test %s %d","foo",1);
printf("\n####end of test_axis2_log_error\n\n");
}
@@ -110,7 +110,7 @@
void test_axis2_log_critical(axis2_env_t *env)
{
printf("\n####start of test_axis2_log_critical\n\n");
- AXIS2_LOG_CRITICAL(env->log,LOG_SI,"log_critical test %s %d","foo",1);
+ AXIS2_LOG_CRITICAL(env->log,AXIS2_LOG_SI,"log_critical test %s %d","foo",1);
printf("\n####end of test_axis2_log_critical\n\n");
}
Modified: webservices/axis2/trunk/c/test/util/test_util.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/util/test_util.c?rev=373994&r1=373993&r2=373994&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/util/test_util.c (original)
+++ webservices/axis2/trunk/c/test/util/test_util.c Tue Jan 31 21:25:00 2006
@@ -274,11 +274,11 @@
strcpy(msg,"abcd test123");
AXIS2_LOG_WRITE(env->log,msg,AXIS2_LOG_LEVEL_ERROR);
- AXIS2_LOG_CRITICAL(env->log,LOG_SI,"log1 %s","test1");
- AXIS2_LOG_ERROR(env->log,LOG_SI,"log2 %d",2);
- AXIS2_LOG_WARNING(env->log,LOG_SI,"log3 %s","test3");
- AXIS2_LOG_INFO(env->log,LOG_SI,"log4 %s %s","info1","info2");
- AXIS2_LOG_DEBUG(env->log,LOG_SI,"log5 %s %d","test",5);
+ AXIS2_LOG_CRITICAL(env->log,AXIS2_LOG_SI,"log1 %s","test1");
+ AXIS2_LOG_ERROR(env->log,AXIS2_LOG_SI,"log2 %d",2);
+ AXIS2_LOG_WARNING(env->log,AXIS2_LOG_SI,"log3 %s","test3");
+ AXIS2_LOG_INFO(env->log,AXIS2_LOG_SI,"log4 %s %s","info1","info2");
+ AXIS2_LOG_DEBUG(env->log,AXIS2_LOG_SI,"log5 %s %d","test",5);
printf("end of test_log_write \n\n");
}