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

PAP, PDP-X: Logging: wrong paths, and failure to find files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: High High
    • Casablanca Release
    • Beijing Release
    • None

      It seems that similar problems that existed in beijing that seems it has been reintroduced in casablanca with regards to logging that affects PDP components:

      The apperance of "common-modules" directory under onap:

      policy@dev-pap-85b85ff5b9-x8552:/var/log/onap$ ls
      common-modules policy

      policy@dev-pap-85b85ff5b9-x8552:/var/log/onap$

      policy@dev-pap-85b85ff5b9-x8552:/var/log/onap$ ls -l common-modules/*
      total 964
      rw-rr- 1 policy policy 0 Oct 17 00:21 audit.log
      rw-rr- 1 policy policy 472865 Oct 17 01:00 debug.log
      rw-rr- 1 policy policy 510530 Oct 17 00:23 error.log
      rw-rr- 1 policy policy 0 Oct 17 00:21 metrics.log

      policy@dev-pap-85b85ff5b9-x8552:/var/log/onap$ ls -l policy/*
      policy/catalina:
      total 4
      rw-rr- 1 policy policy 274 Oct 17 00:22 localhost_access_log.2018-10-17.txt

      policy/console:
      total 8
      rw-rr- 1 policy policy 6550 Oct 17 00:22 catalina.2018-10-17.log
      rw-rr- 1 policy policy 0 Oct 17 00:21 host-manager.2018-10-17.log
      rw-rr- 1 policy policy 0 Oct 17 00:21 localhost.2018-10-17.log
      rw-rr- 1 policy policy 0 Oct 17 00:21 manager.2018-10-17.log

      policy/db:
      total 1184
      rw-rr- 1 policy policy 0 Oct 17 00:21 db_upgrade_remote_20181017002116.err
      rw-rr- 1 policy policy 1210663 Oct 17 00:21 db_upgrade_remote_20181017002116.log

      policy/ep_sdk_app:
      total 144
      rw-rr- 1 policy policy 0 Oct 17 00:21 application.log
      rw-rr- 1 policy policy 419 Oct 17 00:21 audit.log
      rw-rr- 1 policy policy 131426 Oct 17 00:22 debug.log
      rw-rr- 1 policy policy 1319 Oct 17 00:21 error.log
      rw-rr- 1 policy policy 425 Oct 17 00:21 metrics.log

      policy/pap:
      total 100
      rw-rr- 1 policy policy 0 Oct 17 00:21 audit.log
      rw-rr- 1 policy policy 7320 Oct 17 00:21 catalina.2018-10-17.log
      rw-rr- 1 policy policy 0 Oct 17 00:21 host-manager.2018-10-17.log
      rw-rr- 1 policy policy 0 Oct 17 00:21 localhost.2018-10-17.log
      rw-rr- 1 policy policy 0 Oct 17 00:21 manager.2018-10-17.log
      rw-rr- 1 policy policy 0 Oct 17 00:21 pap-rest-reqres.log
      rw-rr- 1 policy policy 90880 Oct 17 00:22 pap-rest.log

      policy/paplp:
      total 100
      rw-rr- 1 policy policy 96693 Oct 17 01:02 stdout

      policy/xacml-pap-rest:
      total 132
      rw-rr- 1 policy policy 1563 Oct 17 00:22 audit.log
      rw-rr- 1 policy policy 115149 Oct 17 01:02 debug.log
      rw-rr- 1 policy policy 3753 Oct 17 00:22 error.log
      rw-rr- 1 policy policy 4476 Oct 17 00:22 metrics.log

      In the PDP, also see this problem in logs (errors are not logged):

      ==> common-modules/integrity-monitor/error.log <==
      2018-10-17T01:09:32.662Z|||Thread-7||||ERROR|||||com.att.eelf.error||POLICY-515E ERROR: java.io.FileNotFoundException: /var/log/onap/policy/pdpx/pdp-rest.log (No such file or directory)

       

       

            jrh3 jrh3
            jhh jhh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: