Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-4180

Log Dir for gc-worker.log is not using same VAR as logs dir for other ranger logs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0, 2.5.0
    • build-infra
    • None

    Description

      While trying to use the "ranger_in_docker" script for bringing up ranger services on local, the log dir is set to "var/log/ranger" using the variable ${RANGER_ADMIN_LOG_DIR}.

      This path does not get used for gc-worker.log since its hardcoded to use -"Xloggc:${XAPOLICYMGR_EWS_DIR}/logs/gc-worker.log" in the "ranger-admin-services.sh" script.

      This causes issues for "gc-worker.log" to not be generated.

      While Java8 is fine with this error, when we use Java11, the JVM fails to start.
      Hence, raising this JIRA.

       

       

      Attachments

        Activity

          People

            jai96 Jai Patel
            jai96 Jai Patel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: