Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-3185

Traces in splunk are duplicated for Spring Boot services

XMLWordPrintable

      When checking the logs of any swatch service that is built on Spring Boot in splunk, for example the swatch tally service, the traces are duplicated:

      The problem is that we're declaring the same logger twice in logback-spring.xml.

      Since the source of HttpEventCollectorLogbackAppender is already set at the log file, the logger is redundant.

      Note that the Quarkus services work fine.

      Acceptance Criteria

      • Fix the duplicated logs in splunk for spring boot services
      • Reproduce the issue locally to verify the issue is fixed

              jcarvaja@redhat.com Jose Carvajal Hilario
              jcarvaja@redhat.com Jose Carvajal Hilario
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: