In http://logging.apache.org/log4j/2.x/manual/messages.html we say:

"Although it may seem more expensive than passing the message format and parameters directly to the event, testing has shown that with modern JVMs the cost of creating and destroying events is minor, especially when complex tasks are encapsulated in the Message instead of the application."

This text was written back in 2012, and has not been changed since. Maybe this text should be adjusted due to the introduction of garbage free logging?

I just fixed a few other minor obsolete things in that file.

Reply via email to