Uploaded image for project: 'ONAP Operations Manager'
  1. ONAP Operations Manager
  2. OOM-112

OOM ONAP Logging - Configuration of all ONAP components to emit canonical logs

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • None
    • None

      As ONAP administrator I wold like to see all logs in a similar format, at similar location for all components.

      For that I would like to inject in each component relevant logging configuration (until the components will include this configuration as part of their images).

       

      Borislav, not all logs are getting populated to /var/log/onap

      for example did a region/tenent/customer PUT and I only see the periodic SDC error log in AAI

      Trying other operations

      We need to add acceptance criteria to this issue - currently only getting logs for the following 

       

      source.keyword: Descending  Count 
      /var/log/onap/sdc/sdc-be/error.log 335,193
      /var/log/onap/mso/asdcController/debug.log 260,160
      /var/log/onap/policy/drools/error.log 176,900
      /var/log/onap/sdnc/karaf.log 38,048
      /var/log/onap/appc/karaf.log 20,903
      /var/log/onap/aai/aai-ml/error.log 1,795
      /var/log/onap/appc/debug.log 1,360
      /var/log/onap/aai/aai-sdb/error.log 4
      /var/log/onap/sdc/sdc-be/audit.log 4

       

      missing for example these - which would be -OOM-110- related - do we handle tab-delimited in the filter?

      root@mso-3911927766-bmww7:/var/log/onap/mso/bpmn# ls -la
      total 36
      drwxr-xr-x 2 root root 4096 Oct 4 10:09 .
      drwxr-xr-x 10 root root 4096 Oct 4 10:09 ..
      rw-rr- 1 root root 496 Oct 4 10:09 audit.log
      rw-rr- 1 root root 23268 Oct 4 10:09 debug.log
      rw-rr- 1 root root 0 Oct 4 10:09 error.log
      rw-rr- 1 root root 0 Oct 4 10:09 metrics.log
      root@mso-3911927766-bmww7:/var/log/onap/mso/bpmn# cat debug.log
      2017-10-04 14:09:20,623 [ServerService Thread Pool -- 88] INFO com.att.eelf.debug ServiceName=contextInitialized AlertSeverity=0 ErrorDesc= TargetServiceName= ServiceNameIsMethodName=true ErrorCode=null TargetEntity= MSO-GENERAL-5414I Prepare to initialize loggers from /etc/mso/config.d/logback.bpmn.xml

       

      7 day old system

      source.keyword: Descending  Count 
      /var/log/onap/mso/asdcController/debug.log 59,831
      /var/log/onap/policy/drools/error.log 39,983
      /var/log/onap/sdc/sdc-be/error.log 33,604
      /var/log/onap/appc/karaf.log 12,102
      /var/log/onap/sdnc/karaf.log 11,467
      /var/log/onap/appc/debug.log 2,720
      /var/log/onap/vid/application.log 262
      /var/log/onap/policy/ep_sdk_app/debug.log 196
      /var/log/onap/mso/asdcController/error.log 164
      /var/log/onap/policy/xacml-pdp-rest/debug.log 84
      /var/log/onap/mso/asdcController/metrics.log 82
      /var/log/onap/EELF/application.log 36
      /var/log/onap/mso/networkAdapter/debug.log 9
      /var/log/onap/mso/tenantAdapter/debug.log 9
      /var/log/onap/mso/vnfAdapter/debug.log 9
      /var/log/onap/sdc/sdc-be/audit.log 8
      /var/log/onap/policy/xacml-pap-rest/debug.log 7
      /var/log/onap/mso/apiHandlerInfra/debug.log 5
      /var/log/onap/mso/bpmn/debug.log 5
      /var/log/onap/mso/sdncAdapter/debug.log 5
      /var/log/onap/vid/error.log 5
      /var/log/onap/EELF/error.log 4
      /var/log/onap/policy/ep_sdk_app/error.log 4
      /var/log/onap/mso/requestDB/debug.log 3
      /var/log/onap/vid/debug.log 2
      /var/log/onap/mso/bpmn/audit.log 1
      /var/log/onap/policy/ep_sdk_app/audit.log 1
      /var/log/onap/policy/ep_sdk_app/metrics.log 1
      /var/log/onap/vid/audit.log 1
      /var/log/onap/vid/metrics.log 1

            michaelobrien michaelobrien
            BorislavG Borislav Glozman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: