]
Radim Vansa closed ISPN-5708.
-----------------------------
Resolution: Duplicate Issue
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@2c2809bb and is now requested
with the message factory
org.apache.logging.log4j.message.StringFormatterMessageFactory@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}}