[infinispan-issues] [JBoss JIRA] (ISPN-5708) Logger for CommandAwareRpcDispatcher uses different message factories

Radim Vansa (JIRA) issues at jboss.org
Fri Aug 28 03:25:05 EDT 2015


Radim Vansa created ISPN-5708:
---------------------------------

             Summary: Logger for CommandAwareRpcDispatcher uses different message factories
                 Key: ISPN-5708
                 URL: https://issues.jboss.org/browse/ISPN-5708
             Project: Infinispan
          Issue Type: Bug
          Components: Core
    Affects Versions: 8.0.0.CR1
            Reporter: Radim Vansa


Running the testsuite, I can see many messages
{code}
WARN The Logger org.infinispan.remoting.transport.jgroups.CommandAwareRpcDispatcher was created with the message factory org.apache.logging.log4j.message.ParameterizedMessageFactory at 2c2809bb and is now requested with the message factory org.apache.logging.log4j.message.StringFormatterMessageFactory at 191a55a3, which may create log events with unexpected formatting.
{code}
 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}}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the infinispan-issues mailing list