【发布时间】:2016-06-06 12:20:26
【问题描述】:
升级到 log4j2 2.6 版后,我面临以下警告:
2016-06-06 16:36:14,920 localhost-startStop-1 WARN The Logger foo.bar was created with the message factory org.apache.logging.log4j.spi.MessageFactory2Adapter@437958b6 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.
2.5 版没问题,有 cmets 吗?!
我在 appenders 中看到了日志消息
【问题讨论】: