Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-6446

New org.slf4j.Logger instance created for every new connection but never cleared when transport listener is configured for trace=true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.14.0
    • 5.15.0
    • Transport
    • None

    Description

      Configuring the broker for transport trace:|

      <transportConnectorname="openwire"uri="tcp://0.0.0.0:61616?trace=true"/>
      </transportConnectors>

      makes the broker create a new SLF4J Logger instance for every single connection.
      This Logger never get cleared not even when the connection is closed which can lead to OOM on load.

      trace=true is a great diagnostic tool but cannot be left enabled on a broker long term because of this.

      Attachments

        Activity

          People

            gtully Gary Tully
            gtully Gary Tully
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: