You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by sa...@apache.org on 2007/06/26 11:27:34 UTC
svn commit: r550751 [1/2] - in /webservices/sandesha/trunk/c: ./ samples/
src/core/ src/handlers/ src/msgprocessors/ src/storage/
src/storage/inmemory/ src/storage/sqlite/ src/workers/ src/wsrm/
Author: sahan
Date: Tue Jun 26 02:27:32 2007
New Revision: 550751
URL: http://svn.apache.org/viewvc?view=rev&rev=550751
Log:
1. Rearranging folder structure in storage
2. Cleaning up log messages
3. Formatting some code
Modified:
webservices/sandesha/trunk/c/Makefile.am
webservices/sandesha/trunk/c/autogen.sh
webservices/sandesha/trunk/c/configure.ac
webservices/sandesha/trunk/c/samples/autogen.sh
webservices/sandesha/trunk/c/samples/configure.ac
webservices/sandesha/trunk/c/src/core/Makefile.am
webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c
webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c
webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c
webservices/sandesha/trunk/c/src/msgprocessors/ack_msg_processor.c
webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c
webservices/sandesha/trunk/c/src/msgprocessors/create_seq_msg_processor.c
webservices/sandesha/trunk/c/src/msgprocessors/create_seq_res_msg_processor.c
webservices/sandesha/trunk/c/src/msgprocessors/make_connection_msg_processor.c
webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c
webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_res_msg_processor.c
webservices/sandesha/trunk/c/src/storage/Makefile.am
webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_bean_mgr.c
webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_create_seq_mgr.c
webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_invoker_mgr.c
webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_next_msg_mgr.c
webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_sender_mgr.c
webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_seq_property_mgr.c
webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_transaction.c
webservices/sandesha/trunk/c/src/storage/sqlite/msg_store_bean.c
webservices/sandesha/trunk/c/src/storage/sqlite/permanent_bean_mgr.c
webservices/sandesha/trunk/c/src/storage/sqlite/permanent_create_seq_mgr.c
webservices/sandesha/trunk/c/src/storage/sqlite/permanent_invoker_mgr.c
webservices/sandesha/trunk/c/src/storage/sqlite/permanent_next_msg_mgr.c
webservices/sandesha/trunk/c/src/storage/sqlite/permanent_sender_mgr.c
webservices/sandesha/trunk/c/src/storage/sqlite/permanent_seq_property_mgr.c
webservices/sandesha/trunk/c/src/storage/sqlite/permanent_transaction.c
webservices/sandesha/trunk/c/src/workers/sender.c
webservices/sandesha/trunk/c/src/workers/sender_worker.c
webservices/sandesha/trunk/c/src/wsrm/make_connection.c
Modified: webservices/sandesha/trunk/c/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/Makefile.am?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/Makefile.am (original)
+++ webservices/sandesha/trunk/c/Makefile.am Tue Jun 26 02:27:32 2007
@@ -1,7 +1,9 @@
datadir=$(prefix)/modules/sandesha2
includedir=$(prefix)/include/sandesha2-0.90
docsdir=$(prefix)/docs/sandesha2c
+sysconfdir=$(prefix)
samplesdir=$(prefix)/samples/sandesha2
+
SUBDIRS = src
samples_DATA=
include_HEADERS= include/*.h
@@ -9,6 +11,8 @@
data_DATA = LICENSE config/module.xml
docs_DATA=
+
+sysconf_DATA=config/axis2.xml
install-data-hook:
cp -rf xdocs/* $(docsdir)
Modified: webservices/sandesha/trunk/c/autogen.sh
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/autogen.sh?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/autogen.sh (original)
+++ webservices/sandesha/trunk/c/autogen.sh Tue Jun 26 02:27:32 2007
@@ -1,10 +1,18 @@
#!/bin/bash
echo -n 'Running libtoolize...'
-if libtoolize --force > /dev/null 2>&1; then
- echo 'done.'
+if [ `uname -s` = Darwin ]
+then
+ LIBTOOLIZE=glibtoolize
else
- echo 'failed.'
- exit 1
+ LIBTOOLIZE=libtoolize
+fi
+
+if $LIBTOOLIZE --force > /dev/null 2>&1; then
+
+ echo 'done.'
+else
+ echo 'failed.'
+ exit 1
fi
echo -n 'Running aclocal...'
Modified: webservices/sandesha/trunk/c/configure.ac
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/configure.ac?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/configure.ac (original)
+++ webservices/sandesha/trunk/c/configure.ac Tue Jun 26 02:27:32 2007
@@ -108,7 +108,8 @@
WRAPPER_DIR="mysql"
dnl Find mysql include dir in the path
if test -d $withval; then
- mysqlinc="-I$withval"
+ mysqlinc="-I$withval/include"
+ LDFLAGS="-L$withval/lib $LDFLAGS"
dnl else find the mysqlinc include dir in /usr/include/mysql
elif test -d '/usr/include/mysql'; then
mysqlinc="-I/usr/include/mysql"
@@ -116,7 +117,8 @@
AC_MSG_ERROR(could not find mysqlinc. stop)
fi
WRAPPER_DIR="mysql"
- LDFLAGS="$LDFLAGS -lmysqlclient -lnsl -lm -lz"
+ dnl LDFLAGS="$LDFLAGS -lmysqlclient -lnsl -lm -lz"
+ LDFLAGS="$LDFLAGS -lmysqlclient -lm -lz"
;;
esac ],
AC_MSG_RESULT(no)
@@ -140,16 +142,17 @@
AC_CONFIG_FILES([Makefile \
src/Makefile \
src/util/Makefile \
- src/wsrm/Makefile\
- src/transport/Makefile\
- src/workers/Makefile\
- src/handlers/Makefile\
- src/msgprocessors/Makefile\
- src/storage/Makefile\
- src/storage/beans/Makefile\
- src/storage/inmemory/Makefile\
- src/storage/sqlite/Makefile\
- src/storage/mysql/Makefile\
+ src/wsrm/Makefile \
+ src/transport/Makefile \
+ src/workers/Makefile \
+ src/handlers/Makefile \
+ src/msgprocessors/Makefile \
+ src/storage/Makefile \
+ src/storage/beans/Makefile \
+ src/storage/common/Makefile \
+ src/storage/inmemory/Makefile \
+ src/storage/sqlite/Makefile \
+ src/storage/mysql/Makefile \
src/client/Makefile \
src/core/Makefile \
src/polling/Makefile
Modified: webservices/sandesha/trunk/c/samples/autogen.sh
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/autogen.sh?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/samples/autogen.sh (original)
+++ webservices/sandesha/trunk/c/samples/autogen.sh Tue Jun 26 02:27:32 2007
@@ -1,12 +1,20 @@
-#!/bin/bash
-
echo -n 'Running libtoolize...'
-if libtoolize --force > /dev/null 2>&1; then
- echo 'done.'
+if [ `uname -s` = Darwin ]
+then
+ LIBTOOLIZE=glibtoolize
+else
+ LIBTOOLIZE=libtoolize
+fi
+
+if $LIBTOOLIZE --force > /dev/null 2>&1; then
+
+ echo 'done.'
else
- echo 'failed.'
- exit 1
+ echo 'failed.'
+ exit 1
fi
+#!/bin/bash
+
echo -n 'Running aclocal...'
if aclocal > /dev/null 2>&1; then
Modified: webservices/sandesha/trunk/c/samples/configure.ac
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/samples/configure.ac?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/samples/configure.ac (original)
+++ webservices/sandesha/trunk/c/samples/configure.ac Tue Jun 26 02:27:32 2007
@@ -5,8 +5,10 @@
AC_INIT(sandesha2-sample-src, 0.93)
AC_CANONICAL_SYSTEM
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE([tar-ustar])
+dnl AM_INIT_AUTOMAKE([tar-ustar])
+AM_INIT_AUTOMAKE
AC_PREFIX_DEFAULT(/usr/local/sandesha2/samples)
+m4_ifdef([_A][M_PROG_TAR],[_A][M_SET_OPTION([tar-ustar])])
dnl Checks for programs.
AC_PROG_CC
@@ -21,7 +23,7 @@
AC_CHECK_LIB(dl, dlopen)
CFLAGS="$CFLAGS -ansi -Wall -D_LARGEFILE64_SOURCE"
-LDFLAGS="-lpthread"
+LDFLAGS="-L$AXIS2C_HOME/lib -lpthread"
dnl Checks for header files.
AC_HEADER_STDC
@@ -38,23 +40,6 @@
if test "$GCC" = "yes"; then
CFLAGS="$CFLAGS $LIBXML2_CFLAGS $GUTHTHILA_CFLAGS -g"
fi
-
-AC_MSG_CHECKING(whether to build dynamic invocation client)
-AC_ARG_ENABLE(diclient, [ --enable-diclient build diclient. default=no],
-[ case "${enableval}" in
- no)
- AC_MSG_RESULT(no)
- DICLIENT_DIR=""
- ;;
- *)
- AC_MSG_RESULT(yes)
- DICLIENT_DIR="diclient"
-
- ;;
- esac ],
- AC_MSG_RESULT(yes)
- DICLIENT_DIR=""
-)
AC_MSG_CHECKING(To Use Axis2 C Axis2. This is a compulsory module to build Sandesha2 C)
AC_ARG_WITH(axis2,
Modified: webservices/sandesha/trunk/c/src/core/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/core/Makefile.am?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/core/Makefile.am (original)
+++ webservices/sandesha/trunk/c/src/core/Makefile.am Tue Jun 26 02:27:32 2007
@@ -12,7 +12,7 @@
libsandesha2_la_LIBADD = ../handlers/libsandesha_handlers.la\
../msgprocessors/libsandesha2_msgprocessors.la\
../storage/beans/libsandesha2_storage_beans.la\
- ../storage/libsandesha2_storage.la\
+ ../storage/common/libsandesha2_storage.la\
../storage/inmemory/libsandesha2_inmemory.la\
../storage/${WRAPPER_DIR}/libsandesha2_permanent.la\
../transport/libsandesha2_transport.la\
Modified: webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c (original)
+++ webservices/sandesha/trunk/c/src/handlers/sandesha2_global_in_handler.c Tue Jun 26 02:27:32 2007
@@ -118,7 +118,7 @@
axis2_bool_t rolled_back = AXIS2_FALSE;
AXIS2_ENV_CHECK( env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, msg_ctx, AXIS2_FAILURE);
- AXIS2_LOG_INFO(env->log, "[sandesha2]Start:sandesha2_global_in_handler");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2]Start:sandesha2_global_in_handler");
/* This handler needs to identify messages which follow the WSRM 1.0
* convention for sending 'LastMessage' when the sender doesn't have a
* reliable message to piggyback the last message marker onto.
@@ -319,7 +319,7 @@
AXIS2_FALSE, 0, AXIS2_VALUE_FALSE);
axis2_ctx_set_property(ctx, env, SANDESHA2_WITHIN_TRANSACTION, prop);
}
- AXIS2_LOG_INFO(env->log, "[sandesha2]Exit:sandesha2_global_in_handler");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Exit:sandesha2_global_in_handler");
return AXIS2_SUCCESS;
}
Modified: webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c (original)
+++ webservices/sandesha/trunk/c/src/handlers/sandesha2_in_handler.c Tue Jun 26 02:27:32 2007
@@ -93,12 +93,12 @@
sandesha2_ack_requested_t *ack_requested = NULL;
AXIS2_PARAM_CHECK(env->error, msg_ctx, AXIS2_FAILURE);
- AXIS2_LOG_INFO(env->log, "[sandesha2] Start: sandesha2_in_handler_invoke");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Start: sandesha2_in_handler_invoke");
conf_ctx = axis2_msg_ctx_get_conf_ctx(msg_ctx, env);
if(!conf_ctx)
{
- AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
"[sandesha2] Configuration Context is NULL");
AXIS2_ERROR_SET(env->error, SANDESHA2_ERROR_CONF_CTX_NULL,
AXIS2_FAILURE);
@@ -159,7 +159,7 @@
prop);
rolled_back = AXIS2_TRUE;
}
- AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
"[sandesha2] Axis2 Service is NULL");
AXIS2_ERROR_SET(env->error, SANDESHA2_ERROR_SVC_NULL, AXIS2_FAILURE);
return AXIS2_FAILURE;
@@ -191,7 +191,7 @@
axis2_ctx_set_property(ctx, env, SANDESHA2_WITHIN_TRANSACTION,
prop);
}
- AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
"[sandesha2] Cannot initialize the message");
AXIS2_ERROR_SET(env->error, SANDESHA2_ERROR_CANNOT_INIT_MSG,
AXIS2_FAILURE);
@@ -232,7 +232,7 @@
axis2_ctx_set_property(ctx, env, SANDESHA2_WITHIN_TRANSACTION,
prop);
}
- AXIS2_LOG_INFO(env->log, "[sandesha2] Exit: sandesha2_in_handler_invoke");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Exit: sandesha2_in_handler_invoke");
return AXIS2_SUCCESS;
}
Modified: webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c (original)
+++ webservices/sandesha/trunk/c/src/handlers/sandesha2_out_handler.c Tue Jun 26 02:27:32 2007
@@ -96,7 +96,7 @@
AXIS2_ENV_CHECK( env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, msg_ctx, AXIS2_FAILURE);
- AXIS2_LOG_INFO(env->log, "[sandesha2] Start: sandesha2_out_handler_invoke");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Start: sandesha2_out_handler_invoke");
conf_ctx = axis2_msg_ctx_get_conf_ctx(msg_ctx, env);
if(!conf_ctx)
{
@@ -273,7 +273,8 @@
if(temp_prop)
axutil_property_set_value(temp_prop, env, axutil_strdup(
env,AXIS2_VALUE_FALSE));
- AXIS2_LOG_INFO(env->log, "[sandesha2] Exit: sandesha2_out_handler_invoke");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] Exit: "
+ "sandesha2_out_handler_invoke");
return AXIS2_SUCCESS;
}
Modified: webservices/sandesha/trunk/c/src/msgprocessors/ack_msg_processor.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/ack_msg_processor.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/ack_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/ack_msg_processor.c Tue Jun 26 02:27:32 2007
@@ -170,7 +170,7 @@
sandesha2_msg_ctx_t *fault_msg_ctx = NULL;
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Entry:sandesha2_ack_msg_processor_process_in_msg");
seq_ack = (sandesha2_seq_ack_t*)sandesha2_msg_ctx_get_msg_part(rm_msg_ctx,
env, SANDESHA2_MSG_PART_SEQ_ACKNOWLEDGEMENT);
@@ -351,7 +351,7 @@
{
sandesha2_msg_ctx_set_paused(rm_msg_ctx, env, AXIS2_TRUE);
}
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Exit: sandesha2_ack_msg_processor_process_in_msg");
return AXIS2_SUCCESS;
}
Modified: webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/app_msg_processor.c Tue Jun 26 02:27:32 2007
@@ -225,7 +225,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Start:sandesha2_app_msg_processor_process_in_msg");
msg_ctx = sandesha2_msg_ctx_get_msg_ctx(rm_msg_ctx, env);
@@ -616,7 +616,7 @@
sandesha2_app_msg_processor_send_ack_if_reqd(env, rm_msg_ctx, msgs_str,
storage_mgr);
}
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Exit: sandesha2_app_msg_processor_process_in_msg");
return AXIS2_SUCCESS;
@@ -658,7 +658,7 @@
axis2_msg_ctx_t *req_msg_ctx = NULL;
axis2_relates_to_t *relates_to = NULL;
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Start:sandesha2_app_msg_processor_process_out_msg");
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
@@ -1041,7 +1041,7 @@
sandesha2_app_msg_processor_process_response_msg(env, rm_msg_ctx,
internal_seq_id, out_seq_id, msg_number, storage_key, storage_mgr);
axis2_msg_ctx_set_paused(msg_ctx, env, AXIS2_TRUE);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Exit: sandesha2_app_msg_processor_process_out_msg");
return AXIS2_SUCCESS;
}
@@ -1081,7 +1081,7 @@
axis2_msg_ctx_t *msg_ctx = NULL;
axis2_bool_t sent = AXIS2_FALSE;
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[Sandesha2] sandesha2_app_msg_processor_send_ack_if_reqd");
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
@@ -1120,7 +1120,7 @@
AXIS2_ERROR_SET(env->error, SANDESHA2_ERROR_SENDING_ACK, AXIS2_FAILURE);
return AXIS2_FAILURE;
}
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[Sandesha2] Exit:sandesha2_app_msg_processor_send_ack_if_reqd");
return AXIS2_SUCCESS;
}
@@ -1155,7 +1155,7 @@
axis2_char_t *create_seq_msg_store_key = NULL;
axis2_char_t *ref_msg_store_key = NULL;
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[Sandesha2] sandesha2_app_msg_processor_add_create_seq_msg");
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
@@ -1261,7 +1261,7 @@
"[sandesha2]Engine Resume Send failed");
return AXIS2_FAILURE;
}
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[Sandesha2] Exit:sandesha2_app_msg_processor_add_create_seq_msg");
return AXIS2_SUCCESS;
}
@@ -1302,7 +1302,7 @@
axis2_char_t *msg_id = NULL;
axis2_bool_t last_msg = AXIS2_FALSE;
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[Sandesha2] sandesha2_app_msg_processor_process_response_msg");
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, internal_seq_id, AXIS2_FAILURE);
@@ -1523,7 +1523,7 @@
axis2_msg_ctx_get_current_handler_index(app_msg_ctx, env) + 1);
engine = axis2_engine_create(env, axis2_msg_ctx_get_conf_ctx(app_msg_ctx,
env));
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[Sandesha2] Exit:sandesha2_app_msg_processor_process_response_msg");
return axis2_engine_resume_send(engine, env, app_msg_ctx);
}
@@ -1571,7 +1571,7 @@
axis2_bool_t update = AXIS2_TRUE;
axis2_char_t str_long[32];
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2]Start:sandesha2_app_msg_processor_set_next_msg_no");
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, internal_seq_id, AXIS2_FAILURE);
@@ -1607,8 +1607,8 @@
{
sandesha2_seq_property_mgr_insert(seq_prop_mgr, env, next_msg_no_bean);
}
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_app_msg_processor_set_next_msg_no");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_app_msg_processor_set_next_msg_no");
return AXIS2_SUCCESS;
}
Modified: webservices/sandesha/trunk/c/src/msgprocessors/create_seq_msg_processor.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/create_seq_msg_processor.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/create_seq_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/create_seq_msg_processor.c Tue Jun 26 02:27:32 2007
@@ -171,7 +171,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Start:sandesha2_create_seq_msg_processor_process_in_msg");
msg_ctx = sandesha2_msg_ctx_get_msg_ctx(rm_msg_ctx, env);
@@ -339,7 +339,7 @@
}
sandesha2_msg_ctx_set_paused(rm_msg_ctx, env, AXIS2_TRUE);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Exit: sandesha2_create_seq_msg_processor_process_in_msg");
return AXIS2_SUCCESS;
Modified: webservices/sandesha/trunk/c/src/msgprocessors/create_seq_res_msg_processor.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/create_seq_res_msg_processor.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/create_seq_res_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/create_seq_res_msg_processor.c Tue Jun 26 02:27:32 2007
@@ -183,7 +183,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Entry:sandesha2_create_seq_res_msg_processor_process_in_msg");
msg_ctx = sandesha2_msg_ctx_get_msg_ctx(rm_msg_ctx, env);
@@ -297,7 +297,7 @@
axis2_char_t *new_msg_store_key = NULL;
axis2_msg_ctx_t *ref_msg_ctx = NULL;
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] In Accept .........");
offerd_seq_bean = sandesha2_seq_property_mgr_retrieve(seq_prop_mgr, env,
int_seq_id, SANDESHA2_SEQ_PROP_OFFERED_SEQ);
@@ -453,7 +453,7 @@
op_ctx = axis2_msg_ctx_get_op_ctx(msg_ctx, env);
axis2_op_ctx_set_response_written(op_ctx, env, AXIS2_TRUE);
sandesha2_msg_ctx_set_paused(rm_msg_ctx, env, AXIS2_TRUE);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Exit: sandesha2_create_seq_res_msg_processor_process_in_msg");
return AXIS2_SUCCESS;
Modified: webservices/sandesha/trunk/c/src/msgprocessors/make_connection_msg_processor.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/make_connection_msg_processor.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/make_connection_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/make_connection_msg_processor.c Tue Jun 26 02:27:32 2007
@@ -187,7 +187,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
- AXIS2_LOG_INFO(env->log, "[sandesha2] sandesha2_make_connection_msg_" \
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] sandesha2_make_connection_msg_" \
"processor_process_in_msg .........");
make_conn = (sandesha2_make_connection_t*)
@@ -434,7 +434,7 @@
storage_mgr);
}
axis2_msg_ctx_set_paused(msg_ctx, env, AXIS2_TRUE);
- AXIS2_LOG_INFO(env->log, "[sandesha2] EXIT sandesha2_make_connection_msg_" \
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "[sandesha2] EXIT sandesha2_make_connection_msg_" \
"processor_process_in_msg .........");
return AXIS2_SUCCESS;
}
Modified: webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_msg_processor.c Tue Jun 26 02:27:32 2007
@@ -173,7 +173,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] sandesha2_terminate_msg_processor_process_in_msg .........");
msg_ctx = sandesha2_msg_ctx_get_msg_ctx(rm_msg_ctx, env);
@@ -243,7 +243,7 @@
sandesha2_seq_mgr_update_last_activated_time(env, seq_id, storage_mgr);
*/
sandesha2_msg_ctx_set_paused(rm_msg_ctx, env, AXIS2_TRUE);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Exit: sandesha2_terminate_msg_processor_process_in_msg");
return AXIS2_SUCCESS;
}
@@ -480,7 +480,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] sandesha2_terminate_msg_processor_process_out_msg.");
msg_ctx = sandesha2_msg_ctx_get_msg_ctx(rm_msg_ctx, env);
@@ -591,7 +591,7 @@
sandesha2_seq_property_mgr_insert(seq_prop_mgr, env, term_added);
sandesha2_terminate_mgr_terminate_sending_side(env, conf_ctx, int_seq_id,
axis2_msg_ctx_get_server_side(msg_ctx, env), storage_mgr);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Exit: sandesha2_terminate_msg_processor_process_out_msg");
return AXIS2_SUCCESS;
}
Modified: webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_res_msg_processor.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_res_msg_processor.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_res_msg_processor.c (original)
+++ webservices/sandesha/trunk/c/src/msgprocessors/terminate_seq_res_msg_processor.c Tue Jun 26 02:27:32 2007
@@ -128,7 +128,7 @@
AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
AXIS2_PARAM_CHECK(env->error, rm_msg_ctx, AXIS2_FAILURE);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] sandesha2_terminate_msg_processor_process_in_msg .........");
msg_ctx = sandesha2_msg_ctx_get_msg_ctx(rm_msg_ctx, env);
@@ -156,7 +156,7 @@
env, conf_ctx, axis2_conf_ctx_get_conf(conf_ctx, env));
sandesha2_terminate_mgr_terminate_sending_side(env, conf_ctx, seq_id,
AXIS2_FALSE, storage_mgr);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2] Exit: sandesha2_terminate_seq_res_msg_processor_process_in_msg");
return AXIS2_SUCCESS;
}
Modified: webservices/sandesha/trunk/c/src/storage/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/Makefile.am?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/Makefile.am (original)
+++ webservices/sandesha/trunk/c/src/storage/Makefile.am Tue Jun 26 02:27:32 2007
@@ -1,17 +1,2 @@
-SUBDIRS = beans inmemory $(WRAPPER_DIR)
-noinst_LTLIBRARIES = libsandesha2_storage.la
-
-libsandesha2_storage_la_SOURCES = \
- storage_mgr.c \
- transaction.c \
- create_seq_mgr.c \
- invoker_mgr.c \
- sender_mgr.c \
- next_msg_mgr.c \
- seq_property_mgr.c
-
-INCLUDES = -I$(top_builddir)/include \
- @AXIS2INC@ \
- @AXIOMINC@ \
- @UTILINC@
+SUBDIRS = beans inmemory $(WRAPPER_DIR) common
EXTRA_DIST=mysql
Modified: webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_bean_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_bean_mgr.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_bean_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_bean_mgr.c Tue Jun 26 02:27:32 2007
@@ -224,7 +224,7 @@
const axutil_env_t *env)
{
sandesha2_inmemory_bean_mgr_impl_t *bean_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2]Start:sandesha2_inmemory_bean_mgr_free_impl");
bean_mgr_impl = SANDESHA2_INTF_TO_IMPL(bean_mgr);
@@ -243,8 +243,8 @@
AXIS2_FREE(env->allocator, bean_mgr_impl);
bean_mgr_impl = NULL;
}
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_bean_mgr_free_impl");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_bean_mgr_free_impl");
}
static axis2_bool_t AXIS2_CALL
@@ -300,7 +300,7 @@
AXIS2_PARAM_CHECK(env->error, key, AXIS2_FALSE);
bean_mgr_impl = SANDESHA2_INTF_TO_IMPL(bean_mgr);
axutil_thread_mutex_lock(bean_mgr_impl->mutex);
- AXIS2_LOG_INFO(env->log, "%s\n", key);
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI, "%s\n", key);
bean = (sandesha2_rm_bean_t *) axutil_hash_get(bean_mgr_impl->table,
key, AXIS2_HASH_KEY_STRING);
axutil_thread_mutex_unlock(bean_mgr_impl->mutex);
Modified: webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_create_seq_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_create_seq_mgr.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_create_seq_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_create_seq_mgr.c Tue Jun 26 02:27:32 2007
@@ -147,8 +147,8 @@
axis2_char_t *msg_id = NULL;
axis2_bool_t ret = AXIS2_FALSE;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_create_seq_mgr_insert");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_create_seq_mgr_insert");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
seq_mgr_impl = SANDESHA2_INTF_TO_IMPL(seq_mgr);
@@ -157,8 +157,8 @@
(sandesha2_rm_bean_t *) bean, env);
ret = sandesha2_inmemory_bean_mgr_insert(seq_mgr_impl->bean_mgr, env,
msg_id, (sandesha2_rm_bean_t *) bean);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_create_seq_mgr_insert");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_create_seq_mgr_insert");
return ret;
}
@@ -201,7 +201,7 @@
axis2_char_t *msg_id = NULL;
axis2_bool_t ret = AXIS2_FALSE;
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Entry:[sandesha2]sandesha2_inmemory_create_seq_mgr_update");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
@@ -215,7 +215,7 @@
}
ret = sandesha2_inmemory_bean_mgr_update(seq_mgr_impl->bean_mgr, env,
msg_id, (sandesha2_rm_bean_t *) bean);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Exit:[sandesha2]sandesha2_inmemory_create_seq_mgr_update:return:%d",
ret);
return ret;
@@ -229,13 +229,13 @@
{
sandesha2_inmemory_create_seq_mgr_t *seq_mgr_impl = NULL;
axutil_array_list_t *ret = NULL;
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Entry:[sandesha2]sandesha2_inmemory_create_seq_mgr_find");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
seq_mgr_impl = SANDESHA2_INTF_TO_IMPL(seq_mgr);
ret = sandesha2_inmemory_bean_mgr_find(seq_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Exit:[sandesha2]sandesha2_inmemory_create_seq_mgr_find");
return ret;
}
@@ -270,8 +270,8 @@
axis2_char_t *temp_seq_id = NULL;
axis2_char_t *internal_seq_id = NULL;
axis2_char_t *temp_internal_seq_id = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_create_seq_mgr_match");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_create_seq_mgr_match");
msg_id = sandesha2_create_seq_bean_get_create_seq_msg_id(bean, env);
temp_msg_id = sandesha2_create_seq_bean_get_create_seq_msg_id(candidate,
env);
@@ -296,8 +296,8 @@
{
equal = AXIS2_FALSE;
}
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_create_seq_mgr_match:equal:%d",
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_create_seq_mgr_match:equal:%d",
equal);
return equal;
}
Modified: webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_invoker_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_invoker_mgr.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_invoker_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_invoker_mgr.c Tue Jun 26 02:27:32 2007
@@ -146,8 +146,8 @@
sandesha2_inmemory_invoker_mgr_t *invoker_mgr_impl = NULL;
invoker_mgr_impl = SANDESHA2_INTF_TO_IMPL(invoker_mgr);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_invoker_mgr_insert");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_invoker_mgr_insert");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
@@ -155,8 +155,8 @@
(sandesha2_rm_bean_t *) bean, env);
ret = sandesha2_inmemory_bean_mgr_insert(invoker_mgr_impl->bean_mgr, env,
ref_key, (sandesha2_rm_bean_t *) bean);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_invoker_mgr_insert");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_invoker_mgr_insert");
return ret;
}
@@ -185,14 +185,14 @@
sandesha2_inmemory_invoker_mgr_t *invoker_mgr_impl = NULL;
invoker_mgr_impl = SANDESHA2_INTF_TO_IMPL(invoker_mgr);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_invoker_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_invoker_mgr_retrieve");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, key, AXIS2_FALSE);
ret = (sandesha2_invoker_bean_t *) sandesha2_inmemory_bean_mgr_retrieve(
invoker_mgr_impl->bean_mgr, env, key);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_invoker_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_invoker_mgr_retrieve");
return ret;
}
@@ -205,8 +205,8 @@
axis2_char_t *ref_key = NULL;
axis2_bool_t ret = AXIS2_FALSE;
sandesha2_inmemory_invoker_mgr_t *invoker_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_invoker_mgr_update");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_invoker_mgr_update");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
invoker_mgr_impl = SANDESHA2_INTF_TO_IMPL(invoker_mgr);
@@ -219,8 +219,8 @@
}
ret = sandesha2_inmemory_bean_mgr_update(invoker_mgr_impl->bean_mgr, env,
ref_key, (sandesha2_rm_bean_t *) bean);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_invoker_mgr_update:return:%d", ret);
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_invoker_mgr_update:return:%d", ret);
return ret;
}
@@ -232,14 +232,14 @@
{
axutil_array_list_t *ret = NULL;
sandesha2_inmemory_invoker_mgr_t *invoker_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_invoker_mgr_find");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_invoker_mgr_find");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
invoker_mgr_impl = SANDESHA2_INTF_TO_IMPL(invoker_mgr);
ret = sandesha2_inmemory_bean_mgr_find(invoker_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_invoker_mgr_find");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_invoker_mgr_find");
return ret;
}
@@ -275,8 +275,8 @@
axis2_bool_t is_invoked = AXIS2_FALSE;
axis2_bool_t temp_is_invoked = AXIS2_FALSE;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_create_invoker_mgr_match");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_create_invoker_mgr_match");
ref_key = sandesha2_invoker_bean_get_msg_ctx_ref_key(bean, env);
temp_ref_key = sandesha2_invoker_bean_get_msg_ctx_ref_key(candidate, env);
if(ref_key && temp_ref_key && 0 != axutil_strcmp(ref_key, temp_ref_key))
@@ -307,8 +307,8 @@
{
select = AXIS2_FALSE;
}
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_create_invoker_mgr_match:return:%d",
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_create_invoker_mgr_match:return:%d",
select);
return select;
}
Modified: webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_next_msg_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_next_msg_mgr.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_next_msg_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_next_msg_mgr.c Tue Jun 26 02:27:32 2007
@@ -283,8 +283,8 @@
axis2_char_t *seq_id = NULL;
axis2_char_t *temp_seq_id = NULL;
sandesha2_inmemory_next_msg_mgr_t *next_msg_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_next_msg_mgr_match");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_next_msg_mgr_match");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
next_msg_mgr_impl = SANDESHA2_INTF_TO_IMPL(next_msg_mgr);
next_msg_no = sandesha2_next_msg_bean_get_next_msg_no_to_process(
@@ -303,7 +303,7 @@
{
equal = AXIS2_FALSE;
}
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2]Exit:sandesha2_inmemory_next_msg_mgr_match:equal:%d",
equal);
return equal;
Modified: webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_sender_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_sender_mgr.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_sender_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_sender_mgr.c Tue Jun 26 02:27:32 2007
@@ -162,8 +162,8 @@
axis2_bool_t ret = AXIS2_FALSE;
sandesha2_inmemory_sender_mgr_t *sender_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_sender_mgr_insert");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_sender_mgr_insert");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
sender_mgr_impl = SANDESHA2_INTF_TO_IMPL(sender_mgr);
@@ -177,8 +177,8 @@
}
ret = sandesha2_inmemory_bean_mgr_insert(sender_mgr_impl->bean_mgr, env,
msg_id, (sandesha2_rm_bean_t *) bean);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_sender_mgr_insert:return:%d", ret);
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_sender_mgr_insert:return:%d", ret);
return ret;
}
@@ -206,14 +206,14 @@
sandesha2_inmemory_sender_mgr_t *sender_mgr_impl = NULL;
sender_mgr_impl = SANDESHA2_INTF_TO_IMPL(sender_mgr);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_sender_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_sender_mgr_retrieve");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, msg_id, AXIS2_FALSE);
ret = (sandesha2_sender_bean_t *) sandesha2_inmemory_bean_mgr_retrieve(
sender_mgr_impl->bean_mgr, env, msg_id);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_sender_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_sender_mgr_retrieve");
return ret;
}
@@ -227,8 +227,8 @@
axis2_bool_t ret = AXIS2_FALSE;*/
sandesha2_inmemory_sender_mgr_t *sender_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_sender_mgr_update");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_sender_mgr_update");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
sender_mgr_impl = SANDESHA2_INTF_TO_IMPL(sender_mgr);
@@ -246,8 +246,8 @@
sandesha2_sender_bean_t *bean = NULL;
axutil_array_list_t *ret = NULL;
sandesha2_inmemory_sender_mgr_t *sender_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_sender_mgr_find_by_internal_seq_id");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_sender_mgr_find_by_internal_seq_id");
AXIS2_ENV_CHECK(env, NULL);
sender_mgr_impl = SANDESHA2_INTF_TO_IMPL(sender_mgr);
@@ -256,8 +256,8 @@
internal_seq_id);
ret = sandesha2_inmemory_bean_mgr_find(sender_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_sender_mgr_find_by_internal_seq_id");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_sender_mgr_find_by_internal_seq_id");
return ret;
}
@@ -269,14 +269,14 @@
{
sandesha2_inmemory_sender_mgr_t *sender_mgr_impl = NULL;
axutil_array_list_t *ret = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_sender_mgr_find_by_sender_bean");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_sender_mgr_find_by_sender_bean");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
sender_mgr_impl = SANDESHA2_INTF_TO_IMPL(sender_mgr);
ret = sandesha2_inmemory_bean_mgr_find(sender_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_sender_mgr_find_by_sender_bean");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_sender_mgr_find_by_sender_bean");
return ret;
}
@@ -318,8 +318,8 @@
axis2_bool_t is_send = AXIS2_FALSE;
axis2_bool_t temp_is_send = AXIS2_FALSE;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_sender_mgr_match");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_sender_mgr_match");
ref_key = sandesha2_sender_bean_get_msg_ctx_ref_key(
(sandesha2_sender_bean_t *) bean, env);
temp_ref_key = sandesha2_sender_bean_get_msg_ctx_ref_key(
@@ -389,8 +389,8 @@
{
add = AXIS2_FALSE;
}*/
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_sender_mgr_match:add:%d",
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_sender_mgr_match:add:%d",
add);
return add;
}
@@ -407,8 +407,8 @@
int i = 0, size = 0;
axutil_array_list_t *match_list = NULL;
sandesha2_inmemory_sender_mgr_t *sender_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_sender_mgr_get_next_msg_to_send");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_sender_mgr_get_next_msg_to_send");
AXIS2_ENV_CHECK(env, NULL);
sender_mgr_impl = SANDESHA2_INTF_TO_IMPL(sender_mgr);
@@ -447,8 +447,8 @@
break;
}
}
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_sender_mgr_get_next_msg_to_send");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_sender_mgr_get_next_msg_to_send");
return result;
}
Modified: webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_seq_property_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_seq_property_mgr.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_seq_property_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_seq_property_mgr.c Tue Jun 26 02:27:32 2007
@@ -174,7 +174,7 @@
axis2_bool_t ret = AXIS2_FALSE;
sandesha2_inmemory_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Entry:[sandesha2]sandesha2_inmemory_seq_property_mgr_insert");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
@@ -183,7 +183,7 @@
id = sandesha2_inmemory_seq_property_mgr_get_id_with_bean(env, bean);
ret = sandesha2_inmemory_bean_mgr_insert(seq_prop_mgr_impl->bean_mgr, env,
id, (sandesha2_rm_bean_t *) bean);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Exit:[sandesha2]sandesha2_inmemory_seq_property_mgr_insert:return%d",
ret);
return ret;
@@ -227,8 +227,8 @@
sandesha2_seq_property_bean_t *ret = NULL;
sandesha2_inmemory_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_seq_property_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_seq_property_mgr_retrieve");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, seq_id, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, name, AXIS2_FALSE);
@@ -239,8 +239,8 @@
ret = (sandesha2_seq_property_bean_t *) sandesha2_inmemory_bean_mgr_retrieve(
seq_prop_mgr_impl->bean_mgr, env, key);
/*AXIS2_FREE(env->allocator, key);*/
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_seq_property_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_seq_property_mgr_retrieve");
return ret;
}
@@ -254,7 +254,7 @@
axis2_bool_t ret = AXIS2_FALSE;
sandesha2_inmemory_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Entry:[sandesha2]sandesha2_inmemory_seq_property_mgr_update");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
@@ -266,7 +266,7 @@
}
ret = sandesha2_inmemory_bean_mgr_update(seq_prop_mgr_impl->bean_mgr, env,
id, (sandesha2_rm_bean_t *) bean);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Exit:[sandesha2]sandesha2_inmemory_seq_property_mgr_update:return:%d", ret);
return ret;
}
@@ -279,14 +279,14 @@
{
sandesha2_inmemory_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
axutil_array_list_t *ret = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_seq_property_mgr_find");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_seq_property_mgr_find");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
seq_prop_mgr_impl = SANDESHA2_INTF_TO_IMPL(seq_prop_mgr);
ret = sandesha2_inmemory_bean_mgr_find(seq_prop_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_seq_property_mgr_find");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_seq_property_mgr_find");
return ret;
}
@@ -320,8 +320,8 @@
axis2_char_t *value = NULL;
axis2_char_t *temp_value = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_inmemory_seq_property_mgr_match");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_inmemory_seq_property_mgr_match");
seq_id = sandesha2_seq_property_bean_get_seq_id(
(sandesha2_seq_property_bean_t *) bean, env);
temp_seq_id = sandesha2_seq_property_bean_get_seq_id(
@@ -346,8 +346,8 @@
{
equal = AXIS2_FALSE;
}
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_seq_property_mgr_match:equal:%d",
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_seq_property_mgr_match:equal:%d",
equal);
return equal;
}
Modified: webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_transaction.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_transaction.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_transaction.c (original)
+++ webservices/sandesha/trunk/c/src/storage/inmemory/inmemory_transaction.c Tue Jun 26 02:27:32 2007
@@ -197,7 +197,7 @@
{
sandesha2_rm_bean_t *rm_bean_l = NULL;
sandesha2_inmemory_transaction_impl_t *trans_impl = NULL;
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2]Start:sandesha2_inmemory_transaction_enlist");
trans_impl = SANDESHA2_INTF_TO_IMPL(trans);
rm_bean_l = sandesha2_rm_bean_get_base(rm_bean, env);
@@ -228,7 +228,7 @@
}
axutil_thread_mutex_unlock(trans_impl->mutex);
}
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_inmemory_transaction_enlist");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_inmemory_transaction_enlist");
}
Modified: webservices/sandesha/trunk/c/src/storage/sqlite/msg_store_bean.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/msg_store_bean.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/msg_store_bean.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/msg_store_bean.c Tue Jun 26 02:27:32 2007
@@ -25,44 +25,24 @@
*/
struct sandesha2_msg_store_bean_t
{
-
-
axis2_char_t * stored_key;
-
axis2_char_t * msg_id;
-
axis2_char_t * soap_env_str;
-
int soap_version;
-
AXIS2_TRANSPORT_ENUMS transport_out;
-
axis2_char_t * op;
-
axis2_char_t * svc;
-
axis2_char_t * svc_grp;
-
axis2_char_t * op_mep;
-
axis2_char_t * to_url;
-
axis2_char_t * reply_to;
-
axis2_char_t * transport_to;
-
axis2_char_t * execution_chain_str;
-
int flow;
-
axis2_char_t * msg_recv_str;
-
axis2_bool_t svr_side;
-
axis2_char_t * in_msg_store_key;
-
axis2_char_t * persistent_property_str;
-
axis2_char_t * action;
};
Modified: webservices/sandesha/trunk/c/src/storage/sqlite/permanent_bean_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/permanent_bean_mgr.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/permanent_bean_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/permanent_bean_mgr.c Tue Jun 26 02:27:32 2007
@@ -217,8 +217,8 @@
const axutil_env_t *env)
{
sandesha2_permanent_bean_mgr_impl_t *bean_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Start:sandesha2_permanent_bean_mgr_free_impl");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Start:sandesha2_permanent_bean_mgr_free_impl");
bean_mgr_impl = SANDESHA2_INTF_TO_IMPL(bean_mgr);
if(bean_mgr_impl)
@@ -226,8 +226,8 @@
AXIS2_FREE(env->allocator, bean_mgr_impl);
bean_mgr_impl = NULL;
}
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_bean_mgr_free_impl");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_bean_mgr_free_impl");
}
axis2_bool_t AXIS2_CALL
@@ -726,8 +726,8 @@
prop_str = sandesha2_msg_store_bean_get_persistent_property_str(bean, env);
action = sandesha2_msg_store_bean_get_action(bean, env);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_bean_mgr_insert_msg_store_bean");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_bean_mgr_insert_msg_store_bean");
sql_size = axutil_strlen(msg_id) + axutil_strlen(stored_key) +
axutil_strlen(soap_env_str) + sizeof(int) + sizeof(int) +
axutil_strlen(op) + axutil_strlen(svc) + axutil_strlen(svc_grp) +
@@ -833,8 +833,8 @@
}
AXIS2_FREE(env->allocator, sql_stmt_insert);
axutil_thread_mutex_unlock(bean_mgr_impl->mutex);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_bean_mgr_insert_msg_store_bean");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_bean_mgr_insert_msg_store_bean");
return AXIS2_TRUE;
}
@@ -849,8 +849,8 @@
axis2_char_t *error_msg = NULL;
int rc = -1;
sqlite3 *dbconn = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_bean_mgr_remove_msg_store_bean");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_bean_mgr_remove_msg_store_bean");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
bean_mgr_impl = SANDESHA2_INTF_TO_IMPL(bean_mgr);
axutil_thread_mutex_lock(bean_mgr_impl->mutex);
@@ -875,8 +875,8 @@
return AXIS2_FALSE;
}
axutil_thread_mutex_unlock(bean_mgr_impl->mutex);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_bean_mgr_remove_msg_store_bean");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_bean_mgr_remove_msg_store_bean");
return AXIS2_TRUE;
}
@@ -900,7 +900,7 @@
int count = -1;
bean_mgr_impl = SANDESHA2_INTF_TO_IMPL(bean_mgr);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2]Start:sandesha2_permanent_bean_mgr_store_response");
sql_size = axutil_strlen(seq_id) + axutil_strlen(response) +
sizeof(int) + sizeof(int) + 512;
@@ -979,8 +979,8 @@
AXIS2_FREE(env->allocator, sql_stmt_insert);
axutil_thread_mutex_unlock(bean_mgr_impl->mutex);
}
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_bean_mgr_store_response");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_bean_mgr_store_response");
return AXIS2_TRUE;
}
@@ -996,8 +996,8 @@
axis2_char_t *error_msg = NULL;
int rc = -1;
sqlite3 *dbconn = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_bean_mgr_remove_response");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_bean_mgr_remove_response");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
bean_mgr_impl = SANDESHA2_INTF_TO_IMPL(bean_mgr);
axutil_thread_mutex_lock(bean_mgr_impl->mutex);
@@ -1023,8 +1023,8 @@
return AXIS2_FALSE;
}
axutil_thread_mutex_unlock(bean_mgr_impl->mutex);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_bean_mgr_remove_response");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_bean_mgr_remove_response");
return AXIS2_TRUE;
}
Modified: webservices/sandesha/trunk/c/src/storage/sqlite/permanent_create_seq_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/permanent_create_seq_mgr.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/permanent_create_seq_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/permanent_create_seq_mgr.c Tue Jun 26 02:27:32 2007
@@ -258,8 +258,8 @@
axis2_char_t *ref_msg_store_key =
sandesha2_create_seq_bean_get_ref_msg_store_key(bean, env);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_create_seq_mgr_insert");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_create_seq_mgr_insert");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
seq_mgr_impl = SANDESHA2_INTF_TO_IMPL(seq_mgr);
@@ -281,8 +281,8 @@
ret = sandesha2_permanent_bean_mgr_insert(seq_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean, sandesha2_create_seq_retrieve_callback,
sql_retrieve, sql_update, sql_insert);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_create_seq_mgr_insert");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_create_seq_mgr_insert");
return ret;
}
@@ -296,8 +296,8 @@
axis2_char_t sql_remove[256];
axis2_char_t sql_retrieve[256];
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_create_seq_mgr_remove");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_create_seq_mgr_remove");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, msg_id, AXIS2_FALSE);
seq_mgr_impl = SANDESHA2_INTF_TO_IMPL(seq_mgr);
@@ -307,8 +307,8 @@
sprintf(sql_retrieve, "select create_seq_msg_id, internal_seq_id,"\
"seq_id, create_seq_msg_store_key, ref_msg_store_key from create_seq "\
"where create_seq_msg_id='%s';", msg_id);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_create_seq_mgr_remove");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_create_seq_mgr_remove");
return sandesha2_permanent_bean_mgr_remove(seq_mgr_impl->bean_mgr, env,
sandesha2_create_seq_retrieve_callback, sql_retrieve, sql_remove);
}
@@ -321,8 +321,8 @@
{
axis2_char_t sql_retrieve[256];
sandesha2_permanent_create_seq_mgr_t *seq_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_create_seq_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_create_seq_mgr_retrieve");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, msg_id, AXIS2_FALSE);
seq_mgr_impl = SANDESHA2_INTF_TO_IMPL(seq_mgr);
@@ -330,8 +330,8 @@
sprintf(sql_retrieve, "select create_seq_msg_id, internal_seq_id,"\
"seq_id, create_seq_msg_store_key, ref_msg_store_key from create_seq "\
"where create_seq_msg_id='%s';", msg_id);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_create_seq_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_create_seq_mgr_retrieve");
return (sandesha2_create_seq_bean_t *) sandesha2_permanent_bean_mgr_retrieve(
seq_mgr_impl->bean_mgr, env, sandesha2_create_seq_retrieve_callback,
sql_retrieve);
@@ -357,7 +357,7 @@
axis2_char_t *ref_msg_store_key =
sandesha2_create_seq_bean_get_ref_msg_store_key(bean, env);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Entry:[sandesha2]sandesha2_permanent_create_seq_mgr_update");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
@@ -373,7 +373,7 @@
ret = sandesha2_permanent_bean_mgr_update(seq_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *)bean, sandesha2_create_seq_retrieve_callback,
sql_retrieve, sql_update);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Exit:[sandesha2]sandesha2_permanent_create_seq_mgr_update:return:%d",
ret);
return ret;
@@ -389,7 +389,7 @@
axis2_char_t *sql_count = NULL;
sandesha2_permanent_create_seq_mgr_t *seq_mgr_impl = NULL;
axutil_array_list_t *ret = NULL;
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Entry:[sandesha2]sandesha2_permanent_create_seq_mgr_find");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
seq_mgr_impl = SANDESHA2_INTF_TO_IMPL(seq_mgr);
@@ -399,7 +399,7 @@
ret = sandesha2_permanent_bean_mgr_find(seq_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean, sandesha2_create_seq_find_callback,
sandesha2_create_seq_count_callback, sql_find, sql_count);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Exit:[sandesha2]sandesha2_permanent_create_seq_mgr_find");
return ret;
}
@@ -439,8 +439,8 @@
axis2_char_t *temp_seq_id = NULL;
axis2_char_t *internal_seq_id = NULL;
axis2_char_t *temp_internal_seq_id = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_create_seq_mgr_match");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_create_seq_mgr_match");
msg_id = sandesha2_create_seq_bean_get_create_seq_msg_id(bean, env);
temp_msg_id = sandesha2_create_seq_bean_get_create_seq_msg_id(candidate,
env);
@@ -465,8 +465,8 @@
{
equal = AXIS2_FALSE;
}
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_create_seq_mgr_match:equal:%d",
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_create_seq_mgr_match:equal:%d",
equal);
return equal;
}
Modified: webservices/sandesha/trunk/c/src/storage/sqlite/permanent_invoker_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/permanent_invoker_mgr.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/permanent_invoker_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/permanent_invoker_mgr.c Tue Jun 26 02:27:32 2007
@@ -241,8 +241,8 @@
axis2_char_t *seq_id = sandesha2_invoker_bean_get_seq_id(bean, env);
axis2_bool_t is_invoked = sandesha2_invoker_bean_is_invoked(bean, env);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_invoker_mgr_insert");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_invoker_mgr_insert");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
invoker_mgr_impl = SANDESHA2_INTF_TO_IMPL(invoker_mgr);
@@ -259,8 +259,8 @@
ret = sandesha2_permanent_bean_mgr_insert(invoker_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean, sandesha2_invoker_retrieve_callback,
sql_retrieve, sql_update, sql_insert);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_invoker_mgr_insert");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_invoker_mgr_insert");
return ret;
}
@@ -295,14 +295,14 @@
sandesha2_permanent_invoker_mgr_t *invoker_mgr_impl = NULL;
AXIS2_PARAM_CHECK(env->error, key, AXIS2_FALSE);
invoker_mgr_impl = SANDESHA2_INTF_TO_IMPL(invoker_mgr);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_invoker_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_invoker_mgr_retrieve");
sprintf(sql_retrieve, "select msg_ctx_ref_key, msg_no, seq_id, is_invoked"\
" from invoker where msg_ctx_ref_key='%s'", key);
sandesha2_permanent_bean_mgr_retrieve(invoker_mgr_impl->bean_mgr, env,
sandesha2_invoker_retrieve_callback, sql_retrieve);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_invoker_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_invoker_mgr_retrieve");
return bean;
}
@@ -324,8 +324,8 @@
axis2_char_t *seq_id = sandesha2_invoker_bean_get_seq_id(bean, env);
axis2_bool_t is_invoked = sandesha2_invoker_bean_is_invoked(bean, env);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_invoker_mgr_update");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_invoker_mgr_update");
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
invoker_mgr_impl = SANDESHA2_INTF_TO_IMPL(invoker_mgr);
@@ -339,8 +339,8 @@
(sandesha2_rm_bean_t *)bean, sandesha2_invoker_retrieve_callback,
sql_retrieve, sql_update);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_invoker_mgr_update:return:%d", ret);
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_invoker_mgr_update:return:%d", ret);
return ret;
}
@@ -354,8 +354,8 @@
axis2_char_t *sql_count = NULL;
axutil_array_list_t *ret = NULL;
sandesha2_permanent_invoker_mgr_t *invoker_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_invoker_mgr_find");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_invoker_mgr_find");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
invoker_mgr_impl = SANDESHA2_INTF_TO_IMPL(invoker_mgr);
sql_find = "select msg_ctx_ref_key,msg_no, seq_id,is_invoked from invoker;";
@@ -363,8 +363,8 @@
ret = sandesha2_permanent_bean_mgr_find(invoker_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean, sandesha2_invoker_find_callback,
sandesha2_invoker_count_callback, sql_find, sql_count);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_invoker_mgr_find");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_invoker_mgr_find");
return ret;
}
@@ -405,8 +405,8 @@
axis2_bool_t is_invoked = AXIS2_FALSE;
axis2_bool_t temp_is_invoked = AXIS2_FALSE;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_create_invoker_mgr_match");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_create_invoker_mgr_match");
ref_key = sandesha2_invoker_bean_get_msg_ctx_ref_key(bean, env);
temp_ref_key = sandesha2_invoker_bean_get_msg_ctx_ref_key(candidate, env);
if(ref_key && temp_ref_key && 0 != axutil_strcmp(ref_key, temp_ref_key))
@@ -437,8 +437,8 @@
{
select = AXIS2_FALSE;
}
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_create_invoker_mgr_match:return:%d",
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_create_invoker_mgr_match:return:%d",
select);
return select;
}
Modified: webservices/sandesha/trunk/c/src/storage/sqlite/permanent_next_msg_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/permanent_next_msg_mgr.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/permanent_next_msg_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/permanent_next_msg_mgr.c Tue Jun 26 02:27:32 2007
@@ -276,16 +276,16 @@
long msg_no;
sandesha2_permanent_next_msg_mgr_t *next_msg_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_next_msg_mgr_insert");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_next_msg_mgr_insert");
+ AXIS2_ENV_CHECK(env, AXIS2_FALSE);
+ AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
+
seq_id = sandesha2_next_msg_bean_get_seq_id((sandesha2_rm_bean_t *) bean,
env);
ref_msg_key = sandesha2_next_msg_bean_get_ref_msg_key(bean, env);
polling_mode = sandesha2_next_msg_bean_is_polling_mode(bean, env);
msg_no = sandesha2_next_msg_bean_get_next_msg_no_to_process(bean, env);
-
- AXIS2_ENV_CHECK(env, AXIS2_FALSE);
- AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
next_msg_mgr_impl = SANDESHA2_INTF_TO_IMPL(next_msg_mgr);
sprintf(sql_retrieve, "select seq_id, ref_msg_key, polling_mode, msg_no"\
@@ -296,8 +296,8 @@
sprintf(sql_insert, "insert into next_msg(seq_id, ref_msg_key,"\
"polling_mode, msg_no) values('%s', '%s', %d, %ld);", seq_id,
ref_msg_key, polling_mode, msg_no);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_next_msg_mgr_insert");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_next_msg_mgr_insert");
return sandesha2_permanent_bean_mgr_insert(next_msg_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean, sandesha2_next_msg_retrieve_callback,
sql_retrieve, sql_update, sql_insert);
@@ -312,8 +312,8 @@
axis2_char_t sql_remove[256];
axis2_char_t sql_retrieve[256];
sandesha2_permanent_next_msg_mgr_t *next_msg_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_next_msg_mgr_remove");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_next_msg_mgr_remove");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, seq_id, AXIS2_FALSE);
next_msg_mgr_impl = SANDESHA2_INTF_TO_IMPL(next_msg_mgr);
@@ -321,8 +321,8 @@
seq_id);
sprintf(sql_retrieve, "select seq_id, ref_msg_key, polling_mode, msg_no"\
" from next_msg where seq_id='%s';", seq_id);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_next_msg_mgr_remove");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_next_msg_mgr_remove");
return sandesha2_permanent_bean_mgr_remove(next_msg_mgr_impl->bean_mgr, env,
sandesha2_next_msg_retrieve_callback, sql_retrieve, sql_remove);
}
@@ -340,15 +340,15 @@
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, seq_id, AXIS2_FALSE);
next_msg_mgr_impl = SANDESHA2_INTF_TO_IMPL(next_msg_mgr);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_next_msg_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_next_msg_mgr_retrieve");
sprintf(sql_retrieve, "select seq_id, ref_msg_key, polling_mode, msg_no"\
" from next_msg where seq_id='%s';", seq_id);
bean = (sandesha2_next_msg_bean_t *) sandesha2_permanent_bean_mgr_retrieve(
next_msg_mgr_impl->bean_mgr, env, sandesha2_next_msg_retrieve_callback,
sql_retrieve);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_next_msg_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_next_msg_mgr_retrieve");
return bean;
}
@@ -455,8 +455,8 @@
axis2_char_t *internal_seq_id = NULL;
axis2_char_t *temp_internal_seq_id = NULL;
sandesha2_permanent_next_msg_mgr_t *next_msg_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_next_msg_mgr_match");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_next_msg_mgr_match");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
next_msg_mgr_impl = SANDESHA2_INTF_TO_IMPL(next_msg_mgr);
next_msg_no = sandesha2_next_msg_bean_get_next_msg_no_to_process(
@@ -481,7 +481,7 @@
{
equal = AXIS2_FALSE;
}
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"[sandesha2]Exit:sandesha2_permanent_next_msg_mgr_match:equal:%d",
equal);
return equal;
Modified: webservices/sandesha/trunk/c/src/storage/sqlite/permanent_sender_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/permanent_sender_mgr.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/permanent_sender_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/permanent_sender_mgr.c Tue Jun 26 02:27:32 2007
@@ -307,8 +307,8 @@
axis2_char_t *wsrm_anon_uri = sandesha2_sender_bean_get_wsrm_anon_uri(bean, env);
axis2_char_t *to_address = sandesha2_sender_bean_get_to_address(bean, env);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_sender_mgr_insert");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_sender_mgr_insert");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
sender_mgr_impl = SANDESHA2_INTF_TO_IMPL(sender_mgr);
@@ -335,8 +335,8 @@
ret = sandesha2_permanent_bean_mgr_insert(sender_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean, sandesha2_sender_retrieve_callback,
sql_retrieve, sql_update, sql_insert);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_sender_mgr_insert:return:%d", ret);
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_sender_mgr_insert:return:%d", ret);
return ret;
}
@@ -349,8 +349,8 @@
axis2_char_t sql_retrieve[256];
axis2_char_t sql_remove[256];
sandesha2_permanent_sender_mgr_t *sender_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_sender_mgr_remove");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_sender_mgr_remove");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, msg_id, AXIS2_FALSE);
sender_mgr_impl = SANDESHA2_INTF_TO_IMPL(sender_mgr);
@@ -359,8 +359,8 @@
"internal_seq_id, sent_count, msg_no, send, resend, time_to_send, "\
"msg_type, seq_id, wsrm_anon_uri, to_address from sender "\
"where msg_id='%s'", msg_id);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_sender_mgr_remove");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_sender_mgr_remove");
return sandesha2_permanent_bean_mgr_remove(sender_mgr_impl->bean_mgr, env,
sandesha2_sender_retrieve_callback, sql_retrieve, sql_remove);
}
@@ -375,8 +375,8 @@
sandesha2_sender_bean_t *ret = NULL;
sandesha2_permanent_sender_mgr_t *sender_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_sender_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_sender_mgr_retrieve");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, msg_id, AXIS2_FALSE);
sender_mgr_impl = SANDESHA2_INTF_TO_IMPL(sender_mgr);
@@ -389,8 +389,8 @@
sender_mgr_impl->bean_mgr, env, sandesha2_sender_retrieve_callback,
sql_retrieve);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_sender_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_sender_mgr_retrieve");
return ret;
}
@@ -419,8 +419,8 @@
axis2_char_t *wsrm_anon_uri = sandesha2_sender_bean_get_wsrm_anon_uri(bean, env);
axis2_char_t *to_address = sandesha2_sender_bean_get_to_address(bean, env);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_sender_mgr_update");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_sender_mgr_update");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
sender_mgr_impl = SANDESHA2_INTF_TO_IMPL(sender_mgr);
@@ -440,8 +440,8 @@
ret = sandesha2_permanent_bean_mgr_update(sender_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean, sandesha2_sender_retrieve_callback, sql_retrieve, sql_update);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_invoker_mgr_update:return:%d", ret);
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_invoker_mgr_update:return:%d", ret);
return ret;
return AXIS2_SUCCESS;
@@ -458,8 +458,8 @@
sandesha2_sender_bean_t *bean = NULL;
axutil_array_list_t *ret = NULL;
sandesha2_permanent_sender_mgr_t *sender_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_sender_mgr_find_by_internal_seq_id");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_sender_mgr_find_by_internal_seq_id");
AXIS2_ENV_CHECK(env, NULL);
sender_mgr_impl = SANDESHA2_INTF_TO_IMPL(sender_mgr);
@@ -475,8 +475,8 @@
sandesha2_sender_count_callback, sql_find, sql_count);
if(bean)
sandesha2_sender_bean_free((sandesha2_rm_bean_t *) bean, env);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_sender_mgr_find_by_internal_seq_id");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_sender_mgr_find_by_internal_seq_id");
return ret;
}
@@ -490,8 +490,8 @@
axis2_char_t *sql_count = NULL;
sandesha2_permanent_sender_mgr_t *sender_mgr_impl = NULL;
axutil_array_list_t *ret = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_sender_mgr_find_by_sender_bean");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_sender_mgr_find_by_sender_bean");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
sender_mgr_impl = SANDESHA2_INTF_TO_IMPL(sender_mgr);
sql_find = "select msg_id, msg_ctx_ref_key, internal_seq_id,"\
@@ -501,8 +501,8 @@
ret = sandesha2_permanent_bean_mgr_find(sender_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean, sandesha2_sender_find_callback,
sandesha2_sender_count_callback, sql_find, sql_count);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_sender_mgr_find_by_sender_bean");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_sender_mgr_find_by_sender_bean");
return ret;
}
@@ -551,8 +551,8 @@
axis2_bool_t is_send = AXIS2_FALSE;
axis2_bool_t temp_is_send = AXIS2_FALSE;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_sender_mgr_match");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_sender_mgr_match");
ref_key = sandesha2_sender_bean_get_msg_ctx_ref_key(
(sandesha2_sender_bean_t *) bean, env);
temp_ref_key = sandesha2_sender_bean_get_msg_ctx_ref_key(
@@ -620,8 +620,8 @@
{
add = AXIS2_FALSE;
}*/
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_sender_mgr_match:add:%d",
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_sender_mgr_match:add:%d",
add);
return add;
}
Modified: webservices/sandesha/trunk/c/src/storage/sqlite/permanent_seq_property_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/permanent_seq_property_mgr.c?view=diff&rev=550751&r1=550750&r2=550751
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/permanent_seq_property_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/permanent_seq_property_mgr.c Tue Jun 26 02:27:32 2007
@@ -269,7 +269,7 @@
axis2_char_t *name = sandesha2_seq_property_bean_get_name(bean, env);
axis2_char_t *value = sandesha2_seq_property_bean_get_value(bean, env);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Entry:[sandesha2]sandesha2_permanent_seq_property_mgr_insert");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
@@ -284,7 +284,7 @@
ret = sandesha2_permanent_bean_mgr_insert(seq_prop_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean, sandesha2_seq_property_retrieve_callback,
sql_retrieve, sql_update, sql_insert);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Exit:[sandesha2]sandesha2_permanent_seq_property_mgr_insert:return%d",
ret);
return ret;
@@ -302,8 +302,8 @@
axis2_char_t sql_retrieve[256];
axis2_status_t status = AXIS2_FAILURE;
sandesha2_permanent_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_seq_property_mgr_remove");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_seq_property_mgr_remove");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, seq_id, AXIS2_FALSE);
@@ -317,8 +317,8 @@
status = sandesha2_permanent_bean_mgr_remove(seq_prop_mgr_impl->bean_mgr, env,
sandesha2_seq_property_retrieve_callback, sql_retrieve, sql_remove);
AXIS2_FREE(env->allocator, key);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_seq_property_mgr_remove");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_seq_property_mgr_remove");
return status;
}
@@ -334,8 +334,8 @@
sandesha2_seq_property_bean_t *ret = NULL;
sandesha2_permanent_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_seq_property_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_seq_property_mgr_retrieve");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, seq_id, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, name, AXIS2_FALSE);
@@ -348,8 +348,8 @@
seq_prop_mgr_impl->bean_mgr, env, sandesha2_seq_property_retrieve_callback,
sql_retrieve);
AXIS2_FREE(env->allocator, key);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_seq_property_mgr_retrieve");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_seq_property_mgr_retrieve");
return ret;
}
@@ -369,7 +369,7 @@
axis2_char_t *name = sandesha2_seq_property_bean_get_name(bean, env);
axis2_char_t *value = sandesha2_seq_property_bean_get_value(bean, env);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Entry:[sandesha2]sandesha2_permanent_seq_property_mgr_update");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
AXIS2_PARAM_CHECK(env->error, bean, AXIS2_FALSE);
@@ -382,7 +382,7 @@
ret = sandesha2_permanent_bean_mgr_update(seq_prop_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean, sandesha2_seq_property_retrieve_callback,
sql_retrieve, sql_update);
- AXIS2_LOG_INFO(env->log,
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
"Exit:[sandesha2]sandesha2_permanent_seq_property_mgr_update:return:%d", ret);
return ret;
}
@@ -397,8 +397,8 @@
axis2_char_t *sql_count = NULL;
sandesha2_permanent_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
axutil_array_list_t *ret = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_seq_property_mgr_find");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_seq_property_mgr_find");
AXIS2_ENV_CHECK(env, AXIS2_FALSE);
seq_prop_mgr_impl = SANDESHA2_INTF_TO_IMPL(seq_prop_mgr);
sql_find = "select seq_id, name,value from seq_property";
@@ -406,8 +406,8 @@
ret = sandesha2_permanent_bean_mgr_find(seq_prop_mgr_impl->bean_mgr, env,
(sandesha2_rm_bean_t *) bean, sandesha2_seq_property_find_callback,
sandesha2_seq_property_count_callback, sql_find, sql_count);
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_seq_property_mgr_find");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_seq_property_mgr_find");
return ret;
}
@@ -446,8 +446,8 @@
axis2_char_t *value = NULL;
axis2_char_t *temp_value = NULL;
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Entry:sandesha2_permanent_seq_property_mgr_match");
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Entry:sandesha2_permanent_seq_property_mgr_match");
seq_id = sandesha2_seq_property_bean_get_seq_id(
(sandesha2_seq_property_bean_t *) bean, env);
temp_seq_id = sandesha2_seq_property_bean_get_seq_id(
@@ -472,8 +472,8 @@
{
equal = AXIS2_FALSE;
}
- AXIS2_LOG_INFO(env->log,
- "[sandesha2]Exit:sandesha2_permanent_seq_property_mgr_match:equal:%d",
+ AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,
+ "[sandesha2] Exit:sandesha2_permanent_seq_property_mgr_match:equal:%d",
equal);
return equal;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org