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

logging not configureable in activemq-client-api

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 5.8.0
    • None
    • JMS client
    • None

    Description

      While using the activemq-client-API in an application it is not possible to customize the logging of the Framework...

      The logging configurations in my log4j.xml do not take effect.
      I configured:
      <logger name="org.apache.activemq.transport.failover.FailoverTransport">
      <level value="ERROR" />
      </logger>

      The applications logs:
      [ActiveMQ Task-1] INFO org.apache.activemq.transport.failover.FailoverTransport - Successfully connected to tcp://bmi-evergabe-web-qs01.adesso.de:61616

      log4j-Debugging confirmes that it takes my log4j.xml. It configures:

      • Setting [org.apache.activemq.transport.failover.FailoverTransport] additivity to [true].
      • log4j: Level value for org.apache.activemq.transport.failover.FailoverTransport is [ERROR].
      • log4j: org.apache.activemq.transport.failover.FailoverTransport level set to ERROR

      Attachments

        Activity

          People

            Unassigned Unassigned
            thorb Thorben Schiller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: