I get the following strange warning from Log4j 2.2:

WARN The Logger MyLogger was created with the message factory
org.apache.logging.log4j.message.MessageFormatMessageFactory@516986e6 and
is now requested with a null message factory (defaults to
org.apache.logging.log4j.message.ParameterizedMessageFactory), which may
create log events with unexpected formatting.

I have these libraries in my classpath:
log4j-1.2-api-2.2.jar
log4j-api-2.2.jar
log4j-core-2.2.jar
log4j-jul-2.2.jar
log4j-slf4j-impl-2.2.jar
slf4j-api-1.7.7.jar

Why do I get this warning? The logging seems to work properly.

-- 
[image: MagineTV]

 *Mikael Ståldal*
Senior backend developer

 *Magine TV*
 mikael.stal...@magine.com
 Regeringsgatan 25  | 111 53 Stockholm, Sweden  |   www.magine.com

 Privileged and/or Confidential Information may be contained in this
message. If you are not the addressee indicated in this message
(or responsible for delivery of the message to such a person), you may not
copy or deliver this message to anyone. In such case,
you should destroy this message and kindly notify the sender by reply
email.

Reply via email to