Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-3610

PDP-D-APPS: audit and metric logging information is incorrect

XMLWordPrintable

      audit.log:

      ==> audit.log <====> audit.log <==
      ||||||||||||||||||||||||INFO|DMAAP-source-SDNR-CL-RSP|  --> HTTP/1.1 404 Not Found
      ||||||||||||||||||||||||WARN|DMAAP-source-SDNR-CL-RSP| Topic not found: /events/SDNR-CL-RSP/a3e9cb7d-12ce-41a2-8764-b0c65f291f1a/dev-policy-drools-pdp-0?timeout=15000&limit=100
      

      metric.log:

      ||||||||||||||||||||||||INFO|DMAAP-source-SDNR-CL-RSP|  --> HTTP/1.1 404 Not Found||||||||||||||||||||||||INFO|DMAAP-source-SDNR-CL-RSP|  --> HTTP/1.1 404 Not Found||||||||||||||||||||||||WARN|DMAAP-source-SDNR-CL-RSP| Topic not found: /events/SDNR-CL-RSP/a3e9cb7d-12ce-41a2-8764-b0c65f291f1a/dev-policy-drools-pdp-0?timeout=15000&limit=100

      It seems there are 2 problems with the logging changes:

      1. Fields delimited by || have been lost.
      2. audits and metrics logs echoes the debug.log, it should only report transaction information.

       

            jhh jhh
            jhh jhh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: