Commit 4c45400d authored by Lionel Gauthier's avatar Lionel Gauthier

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5968 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 6747ef9b
...@@ -338,20 +338,26 @@ uint32_t target_dl_mcs = 28; //maximum allowed mcs ...@@ -338,20 +338,26 @@ uint32_t target_dl_mcs = 28; //maximum allowed mcs
uint32_t target_ul_mcs = 10; uint32_t target_ul_mcs = 10;
int16_t glog_level=LOG_DEBUG; int16_t glog_level = LOG_DEBUG;
int16_t glog_verbosity=LOG_MED; int16_t glog_verbosity = LOG_MED;
int16_t hw_log_level=LOG_DEBUG; int16_t hw_log_level = LOG_DEBUG;
int16_t hw_log_verbosity=LOG_MED; int16_t hw_log_verbosity = LOG_MED;
int16_t phy_log_level=LOG_DEBUG; int16_t phy_log_level = LOG_DEBUG;
int16_t phy_log_verbosity=LOG_MED; int16_t phy_log_verbosity = LOG_MED;
int16_t mac_log_level=LOG_DEBUG; int16_t mac_log_level = LOG_DEBUG;
int16_t mac_log_verbosity=LOG_MED; int16_t mac_log_verbosity = LOG_MED;
int16_t rlc_log_level=LOG_DEBUG; int16_t rlc_log_level = LOG_DEBUG;
int16_t rlc_log_verbosity=LOG_MED; int16_t rlc_log_verbosity = LOG_MED;
int16_t pdcp_log_level=LOG_DEBUG; int16_t pdcp_log_level = LOG_DEBUG;
int16_t pdcp_log_verbosity=LOG_MED; int16_t pdcp_log_verbosity = LOG_MED;
int16_t rrc_log_level=LOG_DEBUG; int16_t rrc_log_level = LOG_DEBUG;
int16_t rrc_log_verbosity=LOG_MED; int16_t rrc_log_verbosity = LOG_MED;
# if defined(ENABLE_USE_MME)
int16_t gtpu_log_level = LOG_DEBUG;
int16_t gtpu_log_verbosity = LOG_MED;
int16_t udp_log_level = LOG_DEBUG;
int16_t udp_log_verbosity = LOG_MED;
#endif
unsigned int build_rflocal(int txi, int txq, int rxi, int rxq) unsigned int build_rflocal(int txi, int txq, int rxi, int rxq)
{ {
...@@ -2599,7 +2605,12 @@ static void get_options (int argc, char **argv) { ...@@ -2599,7 +2605,12 @@ static void get_options (int argc, char **argv) {
pdcp_log_verbosity = enb_properties->properties[i]->pdcp_log_verbosity; pdcp_log_verbosity = enb_properties->properties[i]->pdcp_log_verbosity;
rrc_log_level = enb_properties->properties[i]->rrc_log_level; rrc_log_level = enb_properties->properties[i]->rrc_log_level;
rrc_log_verbosity = enb_properties->properties[i]->rrc_log_verbosity; rrc_log_verbosity = enb_properties->properties[i]->rrc_log_verbosity;
# if defined(ENABLE_USE_MME)
gtpu_log_level = enb_properties->properties[i]->gtpu_log_level;
gtpu_log_verbosity = enb_properties->properties[i]->gtpu_log_verbosity;
udp_log_level = enb_properties->properties[i]->udp_log_level;
udp_log_verbosity = enb_properties->properties[i]->udp_log_verbosity;
#endif
// adjust the log // adjust the log
for (CC_id=0; CC_id<MAX_NUM_CCs; CC_id++) { for (CC_id=0; CC_id<MAX_NUM_CCs; CC_id++) {
...@@ -2725,8 +2736,8 @@ int main(int argc, char **argv) { ...@@ -2725,8 +2736,8 @@ int main(int argc, char **argv) {
#if defined(ENABLE_ITTI) #if defined(ENABLE_ITTI)
set_comp_log(EMU, LOG_INFO, LOG_MED, 1); set_comp_log(EMU, LOG_INFO, LOG_MED, 1);
# if defined(ENABLE_USE_MME) # if defined(ENABLE_USE_MME)
set_comp_log(UDP_, LOG_DEBUG, LOG_HIGH, 1); set_comp_log(UDP_, udp_log_level, udp_log_verbosity, 1);
set_comp_log(GTPU, LOG_DEBUG, LOG_HIGH, 1); set_comp_log(GTPU, gtpu_log_level, gtpu_log_verbosity, 1);
set_comp_log(S1AP, LOG_DEBUG, LOG_HIGH, 1); set_comp_log(S1AP, LOG_DEBUG, LOG_HIGH, 1);
set_comp_log(SCTP, LOG_INFO, LOG_HIGH, 1); set_comp_log(SCTP, LOG_INFO, LOG_HIGH, 1);
# endif # endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment