Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-14718

Set default AM logging in base 7.0 image.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: None
    • Labels:
    • Sprint:
      FRaaS 2020.5 - K9
    • Story Points:
      1

      Description

      Please add a default logback.xml into the WEB-INF/classes folder in AM to enable INFO logging at root level. From here we can the increase logging at runtime as required.

      <configuration>

      <appender name="JSON" class="ch.qos.logback.core.ConsoleAppender">
      <encoder class="net.logstash.logback.encoder.LogstashEncoder">
      <includeMdcKeyName>transactionId</includeMdcKeyName>
      </encoder>
      </appender>

      <root level="INFO">
      <appender-ref ref="JSON" />
      </root>
      </configuration>

        Attachments

          Activity

            People

            • Assignee:
              jamesphillpotts James Phillpotts
              Reporter:
              lee.baines Lee Baines
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: