Uploaded image for project: 'Content Gateway'
  1. Content Gateway
  2. CGW-835

Adjust Logging So It Displays Date and Time

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • Q2CY22, CGW 6.0.1
    • None
    • None
    • 5
    • False
    • None
    • False
    • MWES 2022-03-29

      The default logging format in the runtime pod uses time in format "hours since pod started"). This is bad way for indexing it into Splunk. Thus we need to change it to look like in the good old days of VM:

      formatter.PATTERN=org.jboss.logmanager.formatters.PatternFormatter
      formatter.PATTERN.properties=pattern
      formatter.PATTERN.pattern=%d{yyyy-MM-dd HH\:mm\:ss,SSS} %-5p [%c] (%t) %s%e%n
      

              dhladky@redhat.com David Hladky
              dhladky@redhat.com David Hladky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: