Github user cakofony commented on the issue:
https://github.com/apache/logging-log4j2/pull/150
Good call, updated.
Curious of your thoughts on this approach vs reusable threadlocal arrays to
copy parameters into for Message.getParameters. That approach would have to
copy a few references around, but the cost should be fairly small, and wouldn't
necessarily work for messages with more than a few parameters, but those aren't
particularly common anyhow. I suppose it's also more dangerous if consumers
attempt to hold onto the returned parameter array across thread boundaries.
---