• Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Docker, Logs
    • None
    • 1
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Please add the ability to write atlassian-bamboo.log to the Docker stdout either as an option in the Docker Compose file or as default behavior in the stock Docker image.

      Current Workaround:

      1. First, identify where the log files are located inside the Bamboo container. Usually is:
        /var/atlassian/application-data/bamboo/logs
        
      2. Create a Dockerfile to build a new Docker image, based on the existing Bamboo Docker image.
      3. In this Dockerfile, use the `RUN` command to remove the existing log files, and then create symbolic links that point to /dev/stdout or /dev/stderr.
        Here is an example Dockerfile:
        # Create symbolic links
        RUN ln -sf /dev/stdout /path/to/your/atlassian-bamboo.log \
            && ln -sf /dev/stdout /path/to/your/atlassian-bamboo-access.log
        

        Replace `/path/to/your/atlassian-bamboo.log` and `/path/to/your/atlassian-bamboo-access.log` with the actual paths to your log files.

      4. Build a new Docker image using this Dockerfile:
        docker build -t my-bamboo:8.9.8 .
      5. Run a new Bamboo container using your new Docker image:
        docker run -d --name my-bamboo my-bamboo:8.9.8
      6. Now you should be able to see the logs using the `docker logs` command:
        docker logs my-bamboo

        Note: The Bamboo logs will now also include the access logs and this might not be what you want. If you want to separate the access log, you can create another symbolic link to /dev/stderr instead.

            [BAM-25650] Write atlassian-bamboo.log to Docker stdout

            SET Analytics Bot made changes -
            UIS Original: 6 New: 1
            SET Analytics Bot made changes -
            UIS Original: 1 New: 6
            SET Analytics Bot made changes -
            UIS New: 1
            Aaron Brown created issue -

              Unassigned Unassigned
              abrown3@atlassian.com Aaron Brown
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: