|
@@ -721,7 +721,8 @@ static void on_session(sp_tbs_t *tbs, sock_connection *conn, int tsx_id, char *e
|
|
|
|
|
|
rc = create_sub_session(tbs, conn, tsx_id, entity_name, function_name, class_name, &session);
|
|
|
if (rc == 0) {
|
|
|
- DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("start create sub session!");
|
|
|
+ if (getReduceSpbaseLog())
|
|
|
+ DbgWithLink(LOG_LEVEL_INFO, LOG_TYPE_SYSTEM)("start create sub session!");
|
|
|
//post_session_ack(tbs, conn, session->id, tsx_id, rc, NULL);
|
|
|
} else {
|
|
|
DbgWithLink(LOG_LEVEL_WARN, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("create_sub_session failed! entity: %s, err = %d %s %d",
|
|
@@ -771,7 +772,8 @@ static void __bcm_on_message_raw(sp_bcm_listener_t *listener, int from_client_id
|
|
|
*msg_pkt = NULL;
|
|
|
sp_bcm_listener_inc_ref(listener); //@
|
|
|
post_msg(entry->conn->tbs, MSG_ON_EVENT, (int)entry, (int)pkt);
|
|
|
- DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("post event from_client_id:%d", from_client_id);
|
|
|
+ if(getReduceSpbaseLog())
|
|
|
+ DbgWithLink(LOG_LEVEL_DEBUG, LOG_TYPE_SYSTEM).setAPI(__FUNCTION__)("post event from_client_id:%d", from_client_id);
|
|
|
}
|
|
|
|
|
|
static void __bcm_on_destroy(sp_bcm_listener_t *listener, void *user_data)
|