log.c simplification, fix usefull functionality which never worked, move all log code from openair2 to common
This commit is contained in:
@@ -44,10 +44,10 @@
|
||||
#include "gtpv1u_eNB_defs.h"
|
||||
#include "gtpv1_u_messages_types.h"
|
||||
#include "udp_eNB_task.h"
|
||||
#include "UTIL/LOG/log.h"
|
||||
#include "common/utils/LOG/log.h"
|
||||
#include "COMMON/platform_types.h"
|
||||
#include "COMMON/platform_constants.h"
|
||||
#include "UTIL/LOG/vcd_signal_dumper.h"
|
||||
#include "common/utils/LOG/vcd_signal_dumper.h"
|
||||
#include "common/ran_context.h"
|
||||
#include "gtpv1u_eNB_defs.h"
|
||||
|
||||
|
||||
@@ -51,8 +51,8 @@
|
||||
|
||||
#include "gtpv1u.h"
|
||||
#if defined(ENB_MODE)
|
||||
#include "UTIL/LOG/log.h"
|
||||
#include "UTIL/LOG/vcd_signal_dumper.h"
|
||||
#include "common/utils/LOG/log.h"
|
||||
#include "common/utils/LOG/vcd_signal_dumper.h"
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
#include "gtpv1u.h"
|
||||
#if defined(ENB_MODE)
|
||||
#include "UTIL/LOG/log.h"
|
||||
#include "common/utils/LOG/log.h"
|
||||
#endif
|
||||
|
||||
#define NW_GTPV1U_EPC_SPECIFIC_HEADER_SIZE (12) /**< Size of GTPv1u EPC specific header */
|
||||
|
||||
@@ -39,7 +39,7 @@ Description Usefull logging functions
|
||||
#define __NAS_LOG_H__
|
||||
|
||||
#if defined(NAS_BUILT_IN_UE) && defined(NAS_UE)
|
||||
# include "UTIL/LOG/log.h"
|
||||
# include "common/utils/LOG/log.h"
|
||||
# undef LOG_TRACE
|
||||
#endif
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
# include "assertions.h"
|
||||
# include "intertask_interface.h"
|
||||
# include "nas_ue_task.h"
|
||||
# include "UTIL/LOG/log.h"
|
||||
# include "common/utils/LOG/log.h"
|
||||
|
||||
# include "user_defs.h"
|
||||
# include "user_api.h"
|
||||
|
||||
@@ -71,7 +71,7 @@ extern int asn_debug;
|
||||
extern int asn1_xer_print;
|
||||
|
||||
#if defined(ENB_MODE)
|
||||
# include "UTIL/LOG/log.h"
|
||||
# include "common/utils/LOG/log.h"
|
||||
# include "s1ap_eNB_default_values.h"
|
||||
# define S1AP_ERROR(x, args...) LOG_E(S1AP, x, ##args)
|
||||
# define S1AP_WARN(x, args...) LOG_W(S1AP, x, ##args)
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <sys/socket.h>
|
||||
|
||||
#if defined(ENB_MODE)
|
||||
# include "UTIL/LOG/log.h"
|
||||
# include "common/utils/LOG/log.h"
|
||||
# define SCTP_ERROR(x, args...) LOG_E(SCTP, x, ##args)
|
||||
# define SCTP_WARN(x, args...) LOG_W(SCTP, x, ##args)
|
||||
# define SCTP_DEBUG(x, args...) LOG_I(SCTP, x, ##args)
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
#include "assertions.h"
|
||||
#include "udp_eNB_task.h"
|
||||
|
||||
#include "UTIL/LOG/log.h"
|
||||
#include "UTIL/LOG/vcd_signal_dumper.h"
|
||||
#include "common/utils/LOG/log.h"
|
||||
#include "common/utils/LOG/vcd_signal_dumper.h"
|
||||
#include "msc.h"
|
||||
|
||||
|
||||
@@ -431,7 +431,7 @@ on_error:
|
||||
VCD_SIGNAL_DUMPER_DUMP_FUNCTION_BY_NAME(VCD_SIGNAL_DUMPER_FUNCTIONS_UDP_ENB_TASK, VCD_FUNCTION_OUT);
|
||||
}
|
||||
|
||||
LOG_N(UDP_, "Task UDP eNB exiting\n");
|
||||
LOG_I(UDP_, "Task UDP eNB exiting\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -51,11 +51,12 @@
|
||||
* SCTP Constants
|
||||
******************************************************************************/
|
||||
|
||||
/*
|
||||
#define SCTP_RECV_BUFFER_SIZE (1 << 16)
|
||||
#define SCTP_OUT_STREAMS (32)
|
||||
#define SCTP_IN_STREAMS (32)
|
||||
#define SCTP_MAX_ATTEMPTS (5)
|
||||
|
||||
*/
|
||||
/*******************************************************************************
|
||||
* MME global definitions
|
||||
******************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user