diff --git a/openair2/UTIL/LOG/log.c b/openair2/UTIL/LOG/log.c index d7b6ac19737c97693fa451ed655b8c7806533ca5..13a8879d239f8054d6d187c1b8efd46cafcae449 100755 --- a/openair2/UTIL/LOG/log.c +++ b/openair2/UTIL/LOG/log.c @@ -156,6 +156,14 @@ int logInit (void) g_log->log_component[RRC].filelog = 0; g_log->log_component[RRC].filelog_name = "/tmp/rrc.log"; + g_log->log_component[NAS].name = "NAS"; + g_log->log_component[NAS].level = LOG_TRACE; + g_log->log_component[NAS].flag = LOG_MED; + g_log->log_component[NAS].interval = 1; + g_log->log_component[NAS].fd = 0; + g_log->log_component[NAS].filelog = 0; + g_log->log_component[NAS].filelog_name = "/tmp/nas.log"; + g_log->log_component[EMU].name = "EMU"; g_log->log_component[EMU].level = LOG_EMERG; g_log->log_component[EMU].flag = LOG_MED; diff --git a/openair2/UTIL/LOG/log.h b/openair2/UTIL/LOG/log.h index f23d85a6a4dc80de21fbedfc256c330b9e5eba00..293e31baa741314723469e9d150c52fdb718b121 100755 --- a/openair2/UTIL/LOG/log.h +++ b/openair2/UTIL/LOG/log.h @@ -248,6 +248,7 @@ typedef enum { RLC, PDCP, RRC, + NAS, PERF, OIP, CLI,