Fix handling of `log4j2.messageFactory` and `log4j2.flowMessageFactory` properties (#2505)

6 files changed