Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-5708

Logger for CommandAwareRpcDispatcher uses different message factories

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 8.0.0.CR1
    • Core
    • None

    Description

      Running the testsuite, I can see many messages

      WARN The Logger org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher was created with the message factory org.apache.logging.log4j.message.ParameterizedMessageFactory@2c2809bb and is now requested with the message factory org.apache.logging.log4j.message.StringFormatterMessageFactory@191a55a3, which may create log events with unexpected formatting.
      

      It seems that the problem is when CommandAwareRpcDispatcher creates static logger through jboss-logging (using the default = ParameterizedMessageFactory), and later JGroups' MessageDispatcher creates instance for the same class, but using the StringFormatterMessageFactory

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rvansa1@redhat.com Radim Vansa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: