Uploaded image for project: 'Repose'
  1. REP-6133

Ship a unique Log4J2 configuration to only write to stdout for Docker

    Details

    • Type: Story
    • Status: Resolved (View workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects versions: None
    • Fix versions: 8.7.1.0
    • Components: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      Sprint 153
    • Story Points:
      1
    • Capitalizable:
      True

      Description

      We want to make updates so the Docker image log4j configuration only writes to STDOUT instead of writing to STDOUT and a log file since this is the standard way of logging in Docker (also 12 factor app).

      Probably the easiest way to do this is to have the Dockerfile remove this line from the logging config:
      https://github.com/rackerlabs/repose/blob/master/repose-aggregator/artifacts/src/config/filters/log4j2.xml#L24

      Acceptance Criteria:

      • Out of the box, the Docker image for Repose should not be logging to a file.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                wdschei Bill Scheidegger
                Reporter:
                mario.lopez Mario Lopez
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: