Uploaded image for project: 'Server Deployments and Scale'
  1. Server Deployments and Scale
  2. SCALE-45

Catalina.out file is missing in $JIRA_INST/logs folder in dockerized Jira

    • Severity 2 - Major

      Issue Summary

      Jira deployed from an official docker image does not create catalina.out file in $JIRA_INST/logs folder

      Steps to Reproduce

      Deploy Jira from the official docker image (in my case I tried 8.9.1)

      Expected Results

      catalina.out file should be present in the $JIRA_INST/logs/ directory

      Actual Results

      catalina.out file is not there

      Workaround

      no workaround known yet

        1. catalina.2021-01-12.log
          8 kB
        2. catalina.out
          1.72 MB
        3. image-2021-01-12-14-22-25-372.png
          image-2021-01-12-14-22-25-372.png
          8 kB
        4. image-2021-01-12-14-23-42-712.png
          image-2021-01-12-14-23-42-712.png
          32 kB
        5. image-2021-01-12-14-28-10-281.png
          image-2021-01-12-14-28-10-281.png
          19 kB
        6. image-2021-01-12-14-29-14-037.png
          image-2021-01-12-14-29-14-037.png
          12 kB

            [SCALE-45] Catalina.out file is missing in $JIRA_INST/logs folder in dockerized Jira

            Duplicate of SCALE-46

            Nadya Yusupova (Inactive) added a comment - - edited Duplicate of SCALE-46

            In short, catalina.out is not available when Jira is running in a Docker container, and this is by design.

            Instead, by convention the content should be retrieved using docker logs <container-id/name>. This will return an aggregate of all logged data that is sent to STDOUT and STDERR namely the contents of catalina.<date>.log and atlassian-jira.log.

            Yifei Zhang added a comment - In short, catalina.out is not available when Jira is running in a Docker container, and this is by design. Instead, by convention the content should be retrieved using docker logs <container-id/name> . This will return an aggregate of all logged data that is sent to STDOUT and STDERR namely the contents of catalina.<date>.log and atlassian-jira.log .

            Алексей added a comment - - edited

            turning off rotation helped me

            1catalina.org.apache.juli.AsyncFileHandler.rotatable = false 

            and set 1catalina.org.apache.juli.AsyncFileHandler.suffix = .out

            in  logging.properties

            Алексей added a comment - - edited turning off rotation helped me 1catalina.org .apache.juli.AsyncFileHandler.rotatable = false  and set  1catalina.org .apache.juli.AsyncFileHandler.suffix = .out in  logging.properties

              Unassigned Unassigned
              soslopov Sergey
              Affected customers:
              4 This affects my team
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved: