Commit a2416594 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Remove unecessary logger amf_n2_task

parent a3f62359
......@@ -146,21 +146,21 @@ void amf_n2_task(void* args_p) {
amf_n2_inst->handle_itti_message(ref(*m));
} break;
case UE_CONTEXT_RELEASE_COMMAND: {
Logger::task_amf_n2().info(
Logger::amf_n2().info(
"Received UE_CONTEXT_RELEASE_COMMAND message, handling");
itti_ue_context_release_command* m =
dynamic_cast<itti_ue_context_release_command*>(msg);
amf_n2_inst->handle_itti_message(ref(*m));
} break;
case UE_CONTEXT_RELEASE_COMPLETE: {
Logger::task_amf_n2().info(
Logger::amf_n2().info(
"Received UE_CONTEXT_RELEASE_COMPLETE message, handling");
itti_ue_context_release_complete* m =
dynamic_cast<itti_ue_context_release_complete*>(msg);
amf_n2_inst->handle_itti_message(ref(*m));
} break;
case PDU_SESSION_RESOURCE_RELEASE_COMMAND: {
Logger::task_amf_n2().info(
Logger::amf_n2().info(
"Received PDU_SESSION_RESOURCE_RELEASE_COMMAND message, handling");
itti_pdu_session_resource_release_command* m =
dynamic_cast<itti_pdu_session_resource_release_command*>(msg);
......
......@@ -78,7 +78,6 @@ void Logger::_init(
m_amf_n1 = new _Logger("amf_n1 ", m_sinks, ss.str().c_str());
m_amf_n11 = new _Logger("amf_n11", m_sinks, ss.str().c_str());
m_amf_server = new _Logger("amf_server", m_sinks, ss.str().c_str());
m_task_amf_n2 = new _Logger("task_amf_n2", m_sinks, ss.str().c_str());
}
//------------------------------------------------------------------------------
......
......@@ -94,7 +94,6 @@ class Logger {
static _Logger& amf_n1() { return *singleton().m_amf_n1; }
static _Logger& amf_n11() { return *singleton().m_amf_n11; }
static _Logger& amf_server() { return *singleton().m_amf_server; }
static _Logger& task_amf_n2() { return *singleton().m_task_amf_n2; }
private:
static Logger* m_singleton;
......@@ -124,7 +123,6 @@ class Logger {
_Logger* m_amf_n1;
_Logger* m_amf_n11;
_Logger* m_amf_server;
_Logger* m_task_amf_n2;
};
#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