Procedure Failure Logs

The following are the synopsis of the Procedure Failure logs to trigger session management policies towards the SMF:

  • During the termination scenario, each Procedure Failure log turns on the EndProcedure.

  • During the failure scenario, the Error Code returns to the SMF Infra indicating whether the procedure was a success or a failure.

  • On failure, a Transaction log (common to all procedures) with level warning is used to dump the session details as the following:

    • Event Trace

    • Procedure Name

    • Error Details—It contains failure reason or cause, disconnect reason (if applicable) and failure metrics.

  • The Procedure Failure LogTag is common to all procedures.

  • Procedure-specific LogTags will be configured for each procedure and used to enable logging for specific procedure failures.

  • The Transaction ID gets printed in a procedure failure logs to align with the logs and call flow.

  • The detailed errors note gets printed in the procedure failure logs. It helps in understanding the problem, the actual error cause, disconnect reason (if applicable), and failure metrics.

Logging a Message for Procedure Failure Logs

The following is a sample example of a LogTag for Procedure Failure logs:

2023/01/15 11:34:30.002 [WARN] [smf-service.smf-app.pdnsetup-procfailure] 
[Txn :7]Procedure=[PDN Connect [LTE]], PduState=[IDLE], Rat-Type=[rat_type_unknown], 
FailureReason=[udm_subscribe_notify_failure], DisconnectReason=[disc_pdnsetup_udm_sub_notify_resp_failed]
2023/01/15 11:34:30.002 [WARN] [smf-service.smf-app.pdnsetup-procfailure] [Txn :7]EVENT TRACE
CurIndex:[8], CurProcInst:[0], CreateTimeStamp:[2022-09-13 11:34:27.942 +0000 UTC], 
BaseTimeStamp:[2022-09-13 11:34:27.942 +0000 UTC]

|INDEX|EVENT NAME |EVENT TYPE |PROC NAME |PROC INST |TXN ID |TIMESTAMP |

|1 |S5S8CreateSessReq |INCOMING_EVENT |PDN Connect [LTE] |1 |7 |2022-09-13 11:34:27.942 +0000 UTC |
|2 |N10RegistrationSuccess |INCOMING_EVENT |PDN Connect [LTE] |1 |7 |2022-09-13 11:34:27.943 +0000 UTC |