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

SDNC is not setting FromApp identifier in logging MDC

XMLWordPrintable

    • SDNC Beijing Sprint 2, SDNC Beijing Sprint 3, SDNC Dublin Spr 3 3/11 - 3/29, SDNC Fr Sp4:1/6-1/24

      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.

            anupmarathe anupmarathe
            anupmarathe anupmarathe
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: