Uploaded image for project: 'Network Controller'
  1. Network Controller
  2. SDNC-64

SDNC is not setting FromApp identifier in logging MDC

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Frankfurt Release
    • Component/s: None
    • Labels:
    • Sprint:
      SDNC Beijing Sprint 2, SDNC Beijing Sprint 3, SDNC Dublin Spr 3 3/11 - 3/29

      Description

      ONAP Logging Guidelines (https://wiki.onap.org/download/attachments/1015849/ONAP%20application%20logging%20guidelines.pdf?api=v2) talk about MDC field - PartnerName as ‘This field contains the name of the client application user agent or user invoking the API if known.’. Currently user name is placed in PartnerName in LogFilter. While debugging if we know client application, then it helps to locate logs which triggered this API. So recomendation is to add new MDC ‘FromApp’ which contains identity of calling application.
      Another approach can be to set PartnerName to client application similar to AAI and not to use username as in current SDNC LogFilter code.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                anupmarathe Anup Marathe
                Reporter:
                anupmarathe Anup Marathe
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: