From 8d57d43a4a0ad78377ce73057aba015911a7b1dc Mon Sep 17 00:00:00 2001 From: winckel <winckel@eurecom.fr> Date: Fri, 6 Dec 2013 08:29:45 +0000 Subject: [PATCH] Added NAS log component. git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4621 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair2/UTIL/LOG/log.c | 8 ++++++++ openair2/UTIL/LOG/log.h | 1 + 2 files changed, 9 insertions(+) diff --git a/openair2/UTIL/LOG/log.c b/openair2/UTIL/LOG/log.c index d7b6ac19737..13a8879d239 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 f23d85a6a4d..293e31baa74 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, -- GitLab