Remove redundant log message [#551]

This commit is contained in:
Sukchan Lee 2020-09-06 22:51:07 -04:00
parent 4d2b1f7e76
commit adf0545159
7 changed files with 8 additions and 6 deletions

View File

@ -135,7 +135,7 @@ void sgwc_pfcp_state_will_associate(ogs_fsm_t *s, sgwc_event_t *e)
OGS_FSM_TRAN(s, sgwc_pfcp_state_associated);
break;
default:
ogs_error("cannot handle PFCP message type[%d]",
ogs_warn("cannot handle PFCP message type[%d]",
message->h.type);
break;
}

View File

@ -131,7 +131,7 @@ void sgwu_pfcp_state_will_associate(ogs_fsm_t *s, sgwu_event_t *e)
OGS_FSM_TRAN(s, sgwu_pfcp_state_associated);
break;
default:
ogs_error("cannot handle PFCP message type[%d]",
ogs_warn("cannot handle PFCP message type[%d]",
message->h.type);
break;
}

View File

@ -224,7 +224,7 @@ static void sess_epc_timeout(ogs_pfcp_xact_t *xact, void *data)
switch (type) {
case OGS_PFCP_SESSION_ESTABLISHMENT_REQUEST_TYPE:
ogs_error("No PFCP session establishment response");
ogs_warn("No PFCP session establishment response");
break;
case OGS_PFCP_SESSION_MODIFICATION_REQUEST_TYPE:
ogs_error("No PFCP session modification response");

View File

@ -137,7 +137,7 @@ void smf_pfcp_state_will_associate(ogs_fsm_t *s, smf_event_t *e)
OGS_FSM_TRAN(s, smf_pfcp_state_associated);
break;
default:
ogs_error("cannot handle PFCP message type[%d]",
ogs_warn("cannot handle PFCP message type[%d]",
message->h.type);
break;
}

View File

@ -115,7 +115,7 @@ void smf_s5c_handle_create_session_request(
}
if (!ogs_diam_peer_connected()) {
ogs_error("No Diameter Peer");
ogs_warn("No Diameter Peer");
cause_value = OGS_GTP_CAUSE_REMOTE_PEER_NOT_RESPONDING;
}

View File

@ -204,8 +204,10 @@ static void _gtpv1_u_recv_cb(short when, ogs_socket_t fd, void *data)
pdr = ogs_pfcp_pdr_find_by_teid_and_qfi(teid, qfi);
if (!pdr) {
#if 0 /* It's redundant log message */
ogs_warn("[DROP] Cannot find PDR : UPF-N3-TEID[0x%x] QFI[%d]",
teid, qfi);
#endif
goto cleanup;
}
ogs_assert(pdr->sess);

View File

@ -136,7 +136,7 @@ void upf_pfcp_state_will_associate(ogs_fsm_t *s, upf_event_t *e)
OGS_FSM_TRAN(s, upf_pfcp_state_associated);
break;
default:
ogs_error("cannot handle PFCP message type[%d]",
ogs_warn("cannot handle PFCP message type[%d]",
message->h.type);
break;
}