Commit b6bca8da authored by winckel's avatar winckel
Browse files

Created a log component for eNB application.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4590 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 2d5d6107
...@@ -300,6 +300,14 @@ int logInit (void) ...@@ -300,6 +300,14 @@ int logInit (void)
g_log->log_component[OSA].filelog = 0; g_log->log_component[OSA].filelog = 0;
g_log->log_component[OSA].filelog_name = ""; g_log->log_component[OSA].filelog_name = "";
g_log->log_component[ENB_APP].name = "ENB_APP";
g_log->log_component[ENB_APP].level = LOG_EMERG;
g_log->log_component[ENB_APP].flag = LOG_MED;
g_log->log_component[ENB_APP].interval = 1;
g_log->log_component[ENB_APP].fd = 0;
g_log->log_component[ENB_APP].filelog = 0;
g_log->log_component[ENB_APP].filelog_name = "";
g_log->level2string[LOG_EMERG] = "G"; //EMERG g_log->level2string[LOG_EMERG] = "G"; //EMERG
g_log->level2string[LOG_ALERT] = "A"; // ALERT g_log->level2string[LOG_ALERT] = "A"; // ALERT
g_log->level2string[LOG_CRIT] = "C"; // CRITIC g_log->level2string[LOG_CRIT] = "C"; // CRITIC
......
...@@ -257,6 +257,7 @@ typedef enum { ...@@ -257,6 +257,7 @@ typedef enum {
SCTP, SCTP,
HW, HW,
OSA, OSA,
ENB_APP,
MAX_LOG_COMPONENTS MAX_LOG_COMPONENTS
} comp_name_t; } comp_name_t;
......
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