• Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Medium Medium
    • Beijing Release
    • None
    • None
    • Policy Beijing 2 - 01-24, Policy Beijing 3 - 2-13, Policy Beijing 4 - 3-14, Policy Beijing RC0

      PDP-X has multiple location of log files.  

       

      pdp component directories:

      $POLICY_HOME/logs/

      $POLICY_HOME/servers/pdp/logs/

      $POLICY_HOME/servers/pdp/logs/Policy/

       

       

      paplp component directories:

      ./servers/pdplp/bin/

      ./servers/pdplp/bin/logs/common-modules/integrity-monitor/

       

      Detailed log locations:

      pdp:

      ./servers/pdp/logs/localhost.2018-01-17.log
      ./servers/pdp/logs/host-manager.2018-01-17.log

      ./servers/pdp/logs/manager.2018-01-17.log
      ./servers/pdp/logs/catalina.2018-01-17.log

      ./servers/pdp/logs/Policy/ONAP-PDP-REST/metrics.log
      ./servers/pdp/logs/Policy/ONAP-PDP-REST/error.log
      ./servers/pdp/logs/Policy/ONAP-PDP-REST/audit.log
      ./servers/pdp/logs/Policy/ONAP-PDP-REST/debug.log

      pdplp:

      ./servers/pdplp/bin/IntegrityMonitor.log

      ./servers/pdplp/bin/logs/common-modules/integrity-monitor/metrics.log
      ./servers/pdplp/bin/logs/common-modules/integrity-monitor/error.log
      ./servers/pdplp/bin/logs/common-modules/integrity-monitor/audit.log
      ./servers/pdplp/bin/logs/common-modules/integrity-monitor/debug.log 

       

      ======

      Log locations should be configurable.   Logging guidelines suggest this default, and as such should be the default.

      /var/log/ONAP/<component>[/<subcomponent>]/*.log

      Traditionally policy locations have been storing under the $POLICY_HOME/logs (non-privileged account where $POLICY_HOME contains all policy code) should be supported as well, hence the need of this parameter to be configurable to place location under

      $POLICY_HOME/logs/<component>[/<subcomponent>]/*.log

      component should be policy 

      subcomponent should be pdp, or pdplp.

       

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

              Created:
              Updated:
              Resolved: