Log4j version 2.20.0 did also log messages with missing parameters. A call like:
logger.info("{}, {} and {}", 1, 2);
resulted in a partially replaced message: 1, 2, and {}.
The behavior changed in 2.21.0 and should be restored for backward compatibility.
Log4j version
2.20.0did also log messages with missing parameters. A call like:resulted in a partially replaced message:
1, 2, and {}.The behavior changed in
2.21.0and should be restored for backward compatibility.